ContaSystemer/elm-effects-time/1.0.0

Effects.Time

Time system is used to subscribe for time events. It uses effects for communication with other systems.

Create

type alias Effects msg =
Effects (Effect msg)

Time system effects which are used for communication with other systems.

every : Float -> (Posix -> msg) -> Effects msg

Creates time system effect to subscribe for time event.

Transform

map : (msgA -> msgB) -> Effects msgA -> Effects msgB

Maps time system effects.

subscription : Effects msg -> Sub msg

Time system subscription for all effects.