Chessie


Async

Namespace: Chessie.ErrorHandling
Parent Module: AsyncExtensions

Useful functions for combining error handling computations with async computations.

Functions and values

Function or valueDescription
bind(f x)
Signature: f:('?7543 -> Async<'?7544>) -> x:Async<'?7543> -> Async<'?7544>
Type parameters: '?7543, '?7544

Creates an async computation that runs a computation and when it generates a result run a binding function on the said result

map(f x)
Signature: f:('?7546 -> '?7547) -> x:Async<'?7546> -> Async<'?7547>
Type parameters: '?7546, '?7547

Creates an async computation that runs a mapping function on the result of an async computation

ofAsyncResult(arg1)
Signature: AsyncResult<'?7549,'?7550> -> Async<Result<'?7549,'?7550>>
Type parameters: '?7549, '?7550

Creates an async computation from an asyncTrial computation

singleton(value)
Signature: value:'?7541 -> Async<'?7541>
Type parameters: '?7541

Creates an async computation that return the given value

Fork me on GitHub