laserpants/elm-burrito-update/2.3.2

NOTE: the latest version is 3.0.4

Burrito.Callback

Callbacks to allow for information to be passed up in the update tree. See the hello-button example for basic use.

apply : t -> a -> Update a msg t

Append a callback to the list of functions that subsequently get applied to the returned value using runCallbacks.

runCallbacks : Update a msg (a -> Update a msg t) -> Update a msg t

Sequentially compose the list of monadic functions (callbacks) produced by a nested update call.

andApply : t -> Update a msg t -> Update a msg t

Shortcut for andThen << apply