📋nexus_scheduler::task
Struct InFlightOccurrence
Correlation between one occurrence and one [DAGExecution].
Struct OccurrenceRecordKey
Dynamic field key for one occurrence allocated by a [Task].
Struct OccurrenceRecord
Durable state for one occurrence allocated by a [Task].
Struct Task
Durable scheduling authority and occurrence state.
Struct TaskInnerV1
Version one stored layout for [Task].
Struct TaskPointer
Owned pointer to a [Task] for discovery.
Struct AuthorizationFieldKey
Dynamic child key for the Task authorization.
Struct PaymentReserveFieldKey
Dynamic child key for the Task payment reserve.
Enum TaskController
Immutable authority for a [Task].
Enum TaskStatus
Explicit lifecycle state for a [Task].
Enum TaskRejectionReason
Permanent reason current runtime refused a proposal contract.
Enum FailureMode
Behavior after a failed occurrence.
Enum OccurrenceState
Monotonic lifecycle state for an allocated occurrence.
Constants
Function task_id
Returns the referenced [Task] ID.
Function authorization
Returns the Task authorization.
Function payment_reserve
Returns the Task payment reserve.
Function admission_contract
Returns the validation contract selected by this proposal.
The selector is caller supplied metadata. Current admission must validate every safety relevant field and must never treat this value as provenance.
Function schedule_policy
Returns the skill scheduling limits.
Function occurrence_schedule
Returns the occurrence schedule.
Function controller
Returns the immutable Task controller.
Function status
Returns the explicit Task status.
Function failure_mode
Returns the configured failure behavior.
Function derive_execution_id
Derives the [DAGExecution] ID assigned to one [Task] occurrence.
Function is_active
Returns whether the Task is active.
Function is_paused
Returns whether the Task is paused.
Function is_canceled
Returns whether the Task is canceled.
Function is_rejected
Returns whether current runtime permanently rejected the proposal.
Function rejection_reason
Returns the permanent rejection reason, when present.
Function is_finalized
Returns whether the Task has released its live resources.
Function occurrence_record
Returns the durable record for one allocated occurrence.
Function occurrence
Returns the occurrence preserved by a record.
Function last_effective_start_time_ms
Returns the latest effective start advertised for an occurrence.
Function state
Returns the monotonic lifecycle state preserved by a record.
Function is_scheduled
Returns whether an occurrence has not left its schedule.
Function is_dispatched
Returns whether an occurrence has been dispatched but not settled.
Function is_missed
Returns whether an occurrence expired before dispatch.
Function is_withdrawn
Returns whether an occurrence was withdrawn before dispatch.
Function is_settled
Returns whether a dispatched occurrence reached a terminal outcome.
Function execution_id
Returns the related [DAGExecution] ID after dispatch.
Function dispatched_at_ms
Returns the dispatch timestamp after dispatch.
Function missed_at_ms
Returns the expiration timestamp for a missed occurrence.
Function withdrawal_reason
Returns why an occurrence was withdrawn.
Function settled_at_ms
Returns the settlement timestamp for a settled occurrence.
Function succeeded
Returns the terminal outcome for a settled occurrence.
Function is_in_flight
Returns whether an occurrence remains in flight.
Function in_flight_count
Returns the number of in flight occurrences.
Function in_flight_execution_id
Returns the execution correlated with an occurrence.
Function is_awaiting_funds
Returns whether reserve funds cover one occurrence.
Function can_close
Returns whether the Task can release its live resources.
Function address_controller
Returns an address controller.
Function agent_controller
Returns an Agent controller.
Function continue_on_failure
Returns the default continue behavior.
Function pause_on_failure
Returns explicit pause behavior.
Function is_continue
Returns whether a failure mode continues.
Function status_is_paused
Returns whether a [TaskStatus] is paused.
Last updated

