Skip to main content

Module ops_trait

Module ops_trait 

Source
Expand description

Shared trait for all durable context types.

DurableContextOps is the single interface satisfied by every context type in the SDK: DurableContext, ClosureContext, TraitContext, and BuilderContext.

This trait exists for static dispatch only — never use it as dyn DurableContextOps. It enables generic handler functions that work with any context flavour without code duplication.

Traits§

DurableContextOps
Shared interface for all durable context types.