mbr/elm-again/1.0.1

Again.Remote.Cmd

A helper module for using Again.Remote in your update function.

fail : msg -> error -> Remote error value -> ( Remote error value, Cmd msg )

Tell the Remote that an attempt failed and schedule your wakeup message for the next retry. You get Cmd.none when no retry is allowed.

wakeAfter : msg -> Maybe Float -> Cmd msg

Send a message after the given delay in milliseconds. With Nothing, there is no message to schedule.