(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
(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.
(config-keys config)
Returns, from a configuration, the keys as a set
Returns, from a configuration, the keys as a set
(add-stream this stream-name stream-configuration)
Add a new stream
Add a new stream
(context this source-stream)
Return the streams context
Return the streams context
(get-stream this stream-name)
Get a stream
Get a stream
(list-streams this)
List streams
List streams
(push! this event streams)
Inject an event into a list of streams
Inject an event into a list of streams
(reload this)
Add the new configuration
Add the new configuration
(remove-stream this stream-name)
Remove a stream by name
Remove a stream by name
(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}})
(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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close