pub struct PauseWorkflowContext<'a> {
pub store: Arc<dyn EventStore>,
pub visibility_store: Arc<dyn VisibilityStore>,
pub catalog: Arc<WorkflowCatalog>,
pub runtime: &'a Arc<RuntimeHandle>,
pub supervision: Arc<SupervisionTree>,
pub registry: &'a Arc<Registry>,
pub search_attribute_schema: Arc<SearchAttributeSchema>,
pub paused_runs: PausedRuns,
}Expand description
Dependencies required to pause or resume a workflow run.
Fields§
§store: Arc<dyn EventStore>Durable event store used to read history and construct recorders.
visibility_store: Arc<dyn VisibilityStore>Visibility store the recorder projects the run into.
catalog: Arc<WorkflowCatalog>Workflow catalog resolving the pinned package version to respawn.
runtime: &'a Arc<RuntimeHandle>Runtime boundary used to respawn a crashed-while-paused run on resume.
supervision: Arc<SupervisionTree>Structural supervision tree recording per-type supervisor placement.
registry: &'a Arc<Registry>Active execution registry keyed by workflow/run identifiers.
search_attribute_schema: Arc<SearchAttributeSchema>Schema shared with startup recovery’s resident registration.
paused_runs: PausedRunsThe shared dispatch-hold set to update.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PauseWorkflowContext<'a>
impl<'a> !UnwindSafe for PauseWorkflowContext<'a>
impl<'a> Freeze for PauseWorkflowContext<'a>
impl<'a> Send for PauseWorkflowContext<'a>
impl<'a> Sync for PauseWorkflowContext<'a>
impl<'a> Unpin for PauseWorkflowContext<'a>
impl<'a> UnsafeUnpin for PauseWorkflowContext<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more