~/bend-docscommunity

restore_events.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.5/restore_events.bend as Restore_events

12 imports
import Base
import ./ordinary_owned_event_family_reader_binding.bend as Setup
import ./ordinary_owned_event_binding.bend as Binding
import ./ordinary_owned_event.bend as Pub
import ./owned_event_log.bend as Log
import ./owned_event_key_route.bend as KeyRoute
import ./ordinary_event_family.bend as Family
import ./owner_product.bend as Product
import ./event_publication.bend as Publication
import ./ordinary_event_declaration.bend as Declaration
import ./owned_event_family_catalog.bend as Catalog
import ./event_stream.bend as Stream

Definitions

def data_drain source · line 18 · raw

@unit:Unit -> Pair(Unit, Unit)

Templates

template data_retain source · line 16 · raw

@-E:Data -> @unit:Unit -> @records:List<&2, E> -> Pair(Unit, Unit)

A Data event family has no affine log owner to drain. Its ordinary domain supplies the same nominal stream used by setup/readers and catalog composition.

template data_clear source · line 20 · raw

@-S:Data -> @-E:Data -> @stream:0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_stream.Stream<S, E> -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_stream.Stream<S, E>

template data_catalog source · line 23 · raw

@-S:Data -> @-E:Data -> @domain:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_event_declaration.Domain<S, E> -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/owned_event_family_catalog.Catalog<E, Unit, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_stream.Stream<S, E>, Unit, data_retain(E), data_drain, data_clear(S, E)>

template MixedSetup source · line 25 · raw

@-S:Data -> @-P:Type -> @-E:Data -> @-identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_owned_event.Domain<S, P> -> Data

template with_data source · line 27 · raw

@-S:Data -> @-P:Type -> @-E:Data -> @-identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_owned_event.Domain<S, P> -> @domain:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_event_declaration.Domain<S, E> -> MixedSetup(S, P, E, identity)