API Reference strom v0.9.1

View Source

Modules

Runs a set of components and is a component itself, meaning that a composite has the same interface - it accepts flow as input and returns a modified flow.

DSL for building components

Generic functionality used by other components.

Mix several streams into one. Use Strom.GenMix under the hood

Composite of mixers, use it when you need mixing a lot of streams

Renames streams in flow.

Runs a given steam and call origin on each even in stream. By default it runs the stream asynchronously (in Task.async). One can pass true a the third argument to the Sink.new/3 function to run a stream synchronously.

Sink to IO

Sink to nowhere

Sink to file line by line

Produces stream of events.

Source for reading IO inputs

Source for reading a file line by line

Split a stream into several streams by applying given functions on events

Transforms a stream or several streams. It works as Stream.map/2 or Stream.transform/3.