Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CascadesContext ¶
type CascadesContext interface { Destroy() GetScheduler() base.Scheduler PushTask(task base.Task) GetMemo() *memo.Memo }
CascadesContext define the cascades context as interface, since it will be defined in cascades pkg, which ref task pkg with no doubt. while in the task pkg, the concrete task need receive cascades context as its constructing args, which will lead an import cycle. so that's why we separate it out of base pkg.
Click to show internal directories.
Click to hide internal directories.