OfAsyncWith Module
Functions and values
| Function or value |
Description
|
|
|
Full Usage:
either start f arg ofSuccess ofError dispatch onError
Parameters:
Async<unit> -> unit
f : 'Arg -> Async<'Result>
arg : 'Arg
ofSuccess : 'Result -> 'Msg
ofError : exn -> 'Msg
dispatch : Dispatch<'Msg>
onError : string * exn -> unit
Modifiers: inline Type parameters: 'Arg, 'Result, 'Msg |
|
|
Run an async workload with a custom start function and dispatch its result. An exception is reported to the error handler. Use 'Async.Start' here to migrate from Elmish's thread-pool OfAsync. |
MVUish.Avalonia