Liking cljdoc? Tell your friends :D

mirabelle.stream


compile!clj

(compile! context stream)
source

compile-output!clj

(compile-output! registry output-name output-config)

Config an output configuration.

Adds the :component key to the output

Config an output configuration.

Adds the :component key to the output
sourceraw docstring

compile-stream!clj

(compile-stream! context stream)

Compile a stream to functions and associate to it its entrypoint.

Compile a stream to functions and associate to it its entrypoint.
sourceraw docstring

config-keysclj

(config-keys config)

Returns, from a configuration, the keys as a set

Returns, from a configuration, the keys as a set
sourceraw docstring

IStreamHandlercljprotocol

add-streamclj

(add-stream this stream-name stream-configuration)

Add a new stream

Add a new stream

contextclj

(context this source-stream)

Return the streams context

Return the streams context

get-streamclj

(get-stream this stream-name)

Get a stream

Get a  stream

list-streamsclj

(list-streams this)

List streams

List streams

push!clj

(push! this event streams)

Inject an event into a list of streams

Inject an event into a list of streams

reloadclj

(reload this)

Add the new configuration

Add the new configuration

remove-streamclj

(remove-stream this stream-name)

Remove a stream by name

Remove a stream by name
source

map->StreamHandlerclj

(map->StreamHandler {:keys [streams-directories outputs-configurations
                            streams-configurations custom-actions custom-outputs
                            compiled-streams compiled-outputs stream-timer queue
                            registry test-mode? index pubsub]
                     :or {streams-configurations {}
                          outputs-configurations {}
                          custom-actions {}
                          custom-outputs {}
                          compiled-streams {}
                          compiled-outputs {}
                          test-mode? false}})
source

new-configclj

(new-config old-config new-config)
source

persisted-stream-file-nameclj

(persisted-stream-file-name stream-name)

Returns the name of the file which will contain the stream

Returns the name of the file which will contain the stream
sourceraw docstring

read-edn-dirsclj

(read-edn-dirs dirs-path)

returns the edn content from a list of directories. All files in the directories are read.

returns the edn content from a list of directories.
All files in the directories are read.
sourceraw docstring

stream!clj

(stream! stream event)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close