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 }