PeerSources

The aggregates a subscription of another context's events reads when its handler takes them by type without naming their aggregate (SubscriptionSource.eventSchemas): those whose events the peer contracts list under the schemas the handler takes, all of one context. Each schema names an event of exactly one aggregate; an event two aggregates list, one no contract lists, or events of several contexts are a problem, which names the candidates.

Functions

Link copied to clipboard
fun resolve(manifest: Manifest, contracts: List<Manifest>): Manifest

manifest with every subscription that takes another context's events by type reading the aggregates the contracts list them under; a ContractException listing every subscription it cannot say.