The linear publisher is asynchronous but ensures the order of events send to the handler
The linear publisher is asynchronous but ensures the order of events send to the handler
(make-publisher! opts)
Make an asynchronous, linear publisher
:subscribers
: a map of subscriber key -> subscriber function:killed
: a deferred delivered only when the bprogram has been killed.:on-stopped
: a 0 arity function to call when the program has stoppedMake an asynchronous, linear publisher opts: ----- - `:subscribers`: a map of subscriber key -> subscriber function - `:killed`: a deferred delivered only when the bprogram has been killed. - `:on-stopped`: a 0 arity function to call when the program has stopped
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close