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

Summary

Functions

Returns a specification to start this module under a supervisor.

Callbacks

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

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.