mirror of
https://github.com/logos-storage/logos-storage-network-crawler.git
synced 2026-01-02 13:33:08 +00:00
13 lines
348 B
Nim
13 lines
348 B
Nim
import pkg/chronos
|
|
import pkg/questionable/results
|
|
|
|
import ./state
|
|
|
|
type Component* = ref object of RootObj
|
|
|
|
method start*(c: Component): Future[?!void] {.async, base.} =
|
|
raiseAssert("call to abstract method: component.start")
|
|
|
|
method stop*(c: Component): Future[?!void] {.async, base.} =
|
|
raiseAssert("call to abstract method: component.stop")
|