Task Module
Task combinators — map, bind, zip, catch, and more for Task{T}.
All functions are inline for zero-overhead abstractions. Thread-safe by design.
Functions and values
| Function or value |
Description
|
Full Usage:
fireAndForget onError f
Parameters:
exn -> unit
-
Callback invoked with the exception if the task faults.
f : unit -> Task
-
Factory that produces the task to run.
Modifiers: inline |
Fire-and-forget: starts a task without awaiting. Logs exceptions via onError. onError should not throw; if it does, the exception is silently swallowed.
|
|
Synchronously gets the result of a Task (ConfigureAwait false). The task whose result to retrieve.
|
|
|
|
Runs tasks in parallel with a throttle (max concurrent). Returns all results. On Fable, runs without throttling (JS is single-threaded).
|
|
|
Full Usage:
runSynchronously t
Parameters:
'a
|
Blocks until the task completes (ConfigureAwait false). No-op if null or already completed. The task to wait on.
|
|
|
|
|
|
TDesu.FSharp