pub struct ReopenWorkflowContext<'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>,
}Expand description
Dependencies required to reopen a terminal workflow.
Fields§
§store: Arc<dyn EventStore>Durable event store used to read history and construct the recorder.
visibility_store: Arc<dyn VisibilityStore>Visibility store the resumed recorder projects the reopened run into.
catalog: Arc<WorkflowCatalog>Workflow catalog resolving the pinned package version to spawn.
runtime: &'a Arc<RuntimeHandle>Runtime boundary used to spawn the reopened workflow process.
supervision: Arc<SupervisionTree>Structural supervision tree recording the 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.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ReopenWorkflowContext<'a>
impl<'a> !UnwindSafe for ReopenWorkflowContext<'a>
impl<'a> Freeze for ReopenWorkflowContext<'a>
impl<'a> Send for ReopenWorkflowContext<'a>
impl<'a> Sync for ReopenWorkflowContext<'a>
impl<'a> Unpin for ReopenWorkflowContext<'a>
impl<'a> UnsafeUnpin for ReopenWorkflowContext<'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