@@ -10,6 +10,9 @@ var _ Ticker = (*ticker)(nil)
type Ticker interface {
worker()
+
+ Process(fun any) error
+ Stop()
}
type ticker struct {