cadrumo.application.operations._execution_context module

Definition-bound execution context for application-owned operations.

class DefinitionBoundContext(*, snapshot, registry, operands, clock, resources, advance, acknowledge_cancellation, set_cancellation_deferred)[source]

Bases: object

One executor view whose declarations are checked before state mutation.

Parameters:
async advance(*, lifecycle, events=(), pending=None, effect=None)[source]
Return type:

None

Parameters: