Skip to content

Events

A context declares an event it may emit, given Events emission raises one at handler commit, and another context’s service subscribes with from Events(E). Delivery is fire-and-forget across contexts — the emitting handler never learns whether, or how, a subscriber ran.

Understand

Worked example: bynkc/tests/events_behaviour.rs — a publisher, a subscriber, and the release-at-commit/abort-suppression proof, compiled and run under real tsc + node.

See also: First-party bynk capabilities, Understand the capability model, Diagnostics.