15 lines
332 B
Nim
Raw Normal View History

2025-02-10 14:49:30 +01:00
import pkg/chronos
import pkg/questionable/results
import ./state
type
Component* = ref object of RootObj
method start*(c: Component, state: State): Future[?!void] {.async, base.} =
raiseAssert("call to abstract method")
method stop*(c: Component): Future[?!void] {.async, base.} =
raiseAssert("call to abstract method")