IzumiSy/elm-multi-waitable/1.1.1

NOTE: the latest version is 2.0.0

MultiWaitable

Wait2

type Wait2 msg a b
init2 : (a -> b -> msg) -> Wait2 msg a b
wait2Update1 : a -> Wait2 msg a b -> ( Wait2 msg a b, Cmd msg )
wait2Update2 : b -> Wait2 msg a b -> ( Wait2 msg a b, Cmd msg )
type Results2 a b
= Results2 (Maybe a) (Maybe b)
toResults2 : Wait2 (a -> b -> msg) a b -> Results2 a b

Wait3

type Wait3 msg a b c
init3 : (a -> b -> c -> msg) -> Wait3 msg a b c
wait3Update1 : a -> Wait3 msg a b c -> ( Wait3 msg a b c, Cmd msg )
wait3Update2 : b -> Wait3 msg a b c -> ( Wait3 msg a b c, Cmd msg )
wait3Update3 : c -> Wait3 msg a b c -> ( Wait3 msg a b c, Cmd msg )
type Results3 a b c
= Results3 (Maybe a) (Maybe b) (Maybe c)
toResults3 : Wait3 msg a b c -> Results3 a b c

Wait4

type Wait4 msg a b c d
init4 : (a -> b -> c -> d -> msg) -> Wait4 msg a b c d
wait4Update1 : a -> Wait4 msg a b c d -> ( Wait4 msg a b c d, Cmd msg )
wait4Update2 : b -> Wait4 msg a b c d -> ( Wait4 msg a b c d, Cmd msg )
wait4Update3 : c -> Wait4 msg a b c d -> ( Wait4 msg a b c d, Cmd msg )
wait4Update4 : d -> Wait4 msg a b c d -> ( Wait4 msg a b c d, Cmd msg )
type Results4 a b c d
= Results4 (Maybe a) (Maybe b) (Maybe c) (Maybe d)
toResults4 : Wait4 msg a b c d -> Results4 a b c d

Wait5

type Wait5 msg a b c d e
init5 : (a -> b -> c -> d -> e -> msg) -> Wait5 msg a b c d e
wait5Update1 : a -> Wait5 msg a b c d e -> ( Wait5 msg a b c d e, Cmd msg )
wait5Update2 : b -> Wait5 msg a b c d e -> ( Wait5 msg a b c d e, Cmd msg )
wait5Update3 : c -> Wait5 msg a b c d e -> ( Wait5 msg a b c d e, Cmd msg )
wait5Update4 : d -> Wait5 msg a b c d e -> ( Wait5 msg a b c d e, Cmd msg )
wait5Update5 : e -> Wait5 msg a b c d e -> ( Wait5 msg a b c d e, Cmd msg )
type Results5 a b c d e
toResults5 : Wait5 msg a b c d e -> Results5 a b c d e