def mixed_before_attempt

bendvy-ecs-core@0.1.0.4 · ordinary_reader_system.bend:275

import bendvy-ecs-core@0.1.0.4/ordinary_reader_system.bend as OrdinaryReaderSystem
import Base
import bendvy-ecs-core@0.1.0.4/event_notice_runtime.bend as Mixed
import bendvy-ecs-core@0.1.0.4/event_family_routing.bend as Route
import bendvy-ecs-core@0.1.0.4/relation_commands.bend as Notice
import bendvy-ecs-core@0.1.0.4/internal/relation_failures/domains.bend as D

275# Canonical shared-context hooks are fixed by the library entry. Applications
276# supply only the closed publication router and failure classifier for their
277# declared event schema; split/join and transaction ordering stay internal.
278def mixed_before_attempt(~S:Data,~C:Type,~R:Type,~P:Data,~F:Type,~H:Type,
279  ~sync:F -> Nat -> List<&2,P> -> F,
280  ~classify:Notice.Notice<S,P> -> Maybe<D.DescriptorKey<S>>,
281  context:Route.Runtime<S,C,R,Notice.Notice<S,P>,Mixed.State<S,P,F,H>>) -> Route.Runtime<S,C,R,Notice.Notice<S,P>,Mixed.State<S,P,F,H>>:
282  Mixed.before_attempt(~S,~C,~R,~P,~F,~H,~sync,~classify,context)

Uses (8)

Used by (1)