cascadesctx

package
v1.1.0-beta.0...-b079b5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL