Documentation
¶
Overview ¶
Package schedule drives bounded reconciliation to a structural input fixpoint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
Assessment assessment
}
Result retains the inputs and outcome of one execution.
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler owns execution lifetime and sorted successor admission.
func New ¶
func New(tasks taskService, disp dispatcher) *Scheduler
New constructs a scheduler borrowing the invocation's bounded task service.
func (*Scheduler) Close ¶ added in v0.8.1
Close releases assessments after the final drain or an error.
func (*Scheduler) Drain ¶ added in v0.8.1
Drain delivers pending heads and settles unresolved assessments. Dispatch, assessment and task-service calls MUST run outside mu.
func (*Scheduler) OnArrival ¶
OnArrival admits a new runnable declaration through the existing event adapter. Existing executions observe changes through their retained input registrations.
func (*Scheduler) OnPublication ¶
func (s *Scheduler) OnPublication()
OnPublication signals the structural boundary through existing publication events.