Workflow operations
Public contracts
Exports
HatchetContext
Typed invocation view exposed throughcontext.extensions("hatchet").
Parameters and example
Parameters and example
HatchetContext.extension_name
Return the extension whose invocation authority this context carries.Example
Example
HatchetContext.active
Report whether the owning managed invocation is still active.Example
Example
HatchetContext.continuations
Return provider-bound suspension authority for this invocation.Example
Example
HatchetContext.run
Parameters and example
Parameters and example
HatchetContext.status
Parameters and example
Parameters and example
HatchetContext.wait
Parameters and example
Parameters and example
HatchetContext.run_and_wait
Parameters and example
Parameters and example
HatchetContext.cancel
Parameters and example
Parameters and example
HatchetExtension
Expose Hatchet as an invocation-safe native extension capability.Example
Example
HatchetExtension.start
Parameters and example
Parameters and example
HatchetExtension.stop
Example
Example
HatchetExtension.create_context
Parameters and example
Parameters and example
HatchetExtension.context
Return the task-local extension context for the active invocation.Example
Example
HatchetExtension.run
Parameters and example
Parameters and example
HatchetExtension.status
Parameters and example
Parameters and example
HatchetExtension.wait
Parameters and example
Parameters and example
HatchetExtension.run_and_wait
Parameters and example
Parameters and example
HatchetExtension.cancel
Parameters and example
Parameters and example
HatchetRun
Portable identity for work owned by the external Hatchet runtime.— means no declared default):
Parameters and example
Parameters and example
HatchetRunStatus
Provider statuses that affect continuation decisions.Example
Example
hatchet
Expose Hatchet as an invocation-safe native extension capability.Example
Example
hatchet.start
Parameters and example
Parameters and example
hatchet.stop
Example
Example
hatchet.create_context
Parameters and example
Parameters and example
hatchet.context
Return the task-local extension context for the active invocation.Example
Example
hatchet.run
Parameters and example
Parameters and example
hatchet.status
Parameters and example
Parameters and example
hatchet.wait
Parameters and example
Parameters and example
hatchet.run_and_wait
Parameters and example
Parameters and example
hatchet.cancel
Parameters and example
Parameters and example
extension
Expose Hatchet as an invocation-safe native extension capability.Example
Example
extension.start
Parameters and example
Parameters and example
extension.stop
Example
Example
extension.create_context
Parameters and example
Parameters and example
extension.context
Return the task-local extension context for the active invocation.Example
Example
extension.run
Parameters and example
Parameters and example
extension.status
Parameters and example
Parameters and example
extension.wait
Parameters and example
Parameters and example
extension.run_and_wait
Parameters and example
Parameters and example
extension.cancel
Parameters and example
Parameters and example