Liking cljdoc? Tell your friends :D

wagoe.realtime.shell.bus.in-memory

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).
raw docstring

create-in-memory-busclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close