pub struct ProcessExitContext {
pub store: Arc<dyn EventStore>,
pub visibility_store: Arc<dyn VisibilityStore>,
pub registry: Arc<Registry>,
pub catalog: Arc<WorkflowCatalog>,
pub runtime: Arc<RuntimeHandle>,
pub supervision: Arc<SupervisionTree>,
pub tokio_handle: Handle,
pub search_attribute_schema: Arc<SearchAttributeSchema>,
}Expand description
Owned state needed by the runtime monitor callback.
Fields§
§store: Arc<dyn EventStore>Durable event store used to rebuild projections after terminal append.
visibility_store: Arc<dyn VisibilityStore>Visibility index updated after terminal lifecycle events.
registry: Arc<Registry>Active execution registry to reconcile status and residency.
catalog: Arc<WorkflowCatalog>Shared workflow catalog used to start continue-as-new replacements.
runtime: Arc<RuntimeHandle>Runtime boundary used to spawn continue-as-new replacements.
supervision: Arc<SupervisionTree>Structural supervision tree for replacement workflow placement.
tokio_handle: HandleTokio runtime handle used to run async recorder/store work from the monitor thread.
search_attribute_schema: Arc<SearchAttributeSchema>Schema validating initial search attributes on continue-as-new replacements.
Trait Implementations§
Source§impl Clone for ProcessExitContext
impl Clone for ProcessExitContext
Source§fn clone(&self) -> ProcessExitContext
fn clone(&self) -> ProcessExitContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ProcessExitContext
impl !UnwindSafe for ProcessExitContext
impl Freeze for ProcessExitContext
impl Send for ProcessExitContext
impl Sync for ProcessExitContext
impl Unpin for ProcessExitContext
impl UnsafeUnpin for ProcessExitContext
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