In-memory message bus (single-process / test).
Holds an atom vector of registered delivery-fns. publish invokes each
synchronously and sums their returned counts. This is the default bus for
single-node deployments and the vehicle for the 2-node cross-instance test
(two services sharing one bus instance via the :bus option).
In-memory message bus (single-process / test). Holds an atom vector of registered delivery-fns. `publish` invokes each synchronously and sums their returned counts. This is the default bus for single-node deployments and the vehicle for the 2-node cross-instance test (two services sharing one bus instance via the :bus option).
(create-in-memory-bus)Create a fresh in-memory bus. Pass the same instance to two services (via their :bus option) to simulate a 2-node relay.
Create a fresh in-memory bus. Pass the same instance to two services (via their :bus option) to simulate a 2-node relay.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |