go-scopes/lib/core/core.go

21 lines
307 B
Go

package core
import "git.sr.ht/~cco/go-scopes/lib"
func Start(ctx lib.Context) {
Listen(ctx)
}
func Listen(ctx lib.Context) {
step := ctx.Config().Step()
for step(ctx) {
}
}
func Step(ctx lib.Context) bool {
return true
}
func HandleMessage(ctx lib.Context, msg lib.Message) bool {
return true
}