View Source Strom.Source behaviour (strom v0.6.0)

Summary

Callbacks

@callback call(map()) :: {:ok, {[term()], map()}} | {:error, {:halt, map()}}
@callback infinite?(map()) :: true | false
@callback start(map()) :: map()
@callback stop(map()) :: map()

Functions

Link to this function

call(flow, source, names)

View Source

Returns a specification to start this module under a supervisor.

See Supervisor.