Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dispatch ¶
func Dispatch(event events.SchedulingEvent)
dispatches scheduler events to actual app/task handler, each app/task has its own state machine and maintain their own states. currently all events share same channel, so they are dispatched one by one in order.
func RegisterEventHandler ¶
func RegisterEventHandler(eventType EventType, handlerFn func(interface{}))
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
central dispatcher that dispatches scheduling events.
Click to show internal directories.
Click to hide internal directories.