|
Command to call `promise` block and map the error
-
task
:
'a -> Promise<unit>
-
arg
:
'a
-
ofError
:
'a0 -> 'msg
-
Returns:
Cmd<'msg>
|
|
Command to call `promise` block and map the results
-
task
:
'a -> Promise<'a0>
-
arg
:
'a
-
ofSuccess
:
'a0 -> 'msg
-
ofError
:
'b -> 'msg
-
Returns:
Cmd<'msg>
|
|
Command to call `promise` block and map the success
-
task
:
'a -> Promise<'a0>
-
arg
:
'a
-
ofSuccess
:
'a0 -> 'msg
-
Returns:
(('msg -> 'b) -> unit) list
|
|
Command to dispatch the `promise` result
-
task
:
Promise<'msg>
-
Returns:
(('msg -> 'a) -> unit) list
|