Skip to main content

Crate chronon_executor

Crate chronon_executor 

Source
Expand description

Script registry lookup, context build, and async run lifecycle.

Resolves registered script handlers, builds execution context from stored actor JSON, and dispatches async runs with lifecycle events back to the runtime.

§Documentation map

§Notes

Executor::spawn_run uses run-level params_json, not job defaults. Missing scripts surface as ChrononError::ScriptNotFound.

Structs§

ExecuteScriptRequest
Inputs for a single script execution attempt.
Executor
Executor for running registered scripts against scheduled jobs.
ScriptDescriptor
Descriptor for a registered script.
ScriptDescriptorRef
Borrowed view of a registered script suitable for invocation.
ScriptRegistry
In-memory script registry with optional link-time inventory discovery.

Enums§

ExecutorEvent
Event sent from the executor to the runtime for run status updates.

Functions§

execute_script
Execute a script synchronously.

Type Aliases§

InvokeFn
Type alias for the script invocation function.