Chessie


AsyncTrialBuilder

Namespace: Chessie.ErrorHandling
Parent Module: AsyncTrial

Builder type for error handling in async computation expressions.

Constructors

ConstructorDescription
new()
Signature: unit -> AsyncTrialBuilder

CompiledName: .ctor

Instance members

Instance memberDescription
Bind(async, binder)
Signature: (async:Async<'a> * binder:('a -> AsyncResult<'b,'c>)) -> AsyncResult<'b,'c>
Type parameters: 'a, 'b, 'c
Bind(result, binder)
Signature: (result:Result<'a,'c> * binder:('a -> AsyncResult<'b,'c>)) -> AsyncResult<'b,'c>
Type parameters: 'a, 'c, 'b
Bind(asyncResult, binder)
Signature: (asyncResult:AsyncResult<'a,'c> * binder:('a -> AsyncResult<'b,'c>)) -> AsyncResult<'b,'c>
Type parameters: 'a, 'c, 'b
Delay(generator)
Signature: (generator:(unit -> AsyncResult<'a,'b>)) -> AsyncResult<'a,'b>
Type parameters: 'a, 'b
Return(value)
Signature: value:'a -> AsyncResult<'a,'b>
Type parameters: 'a, 'b
ReturnFrom(asyncResult)
Signature: asyncResult:AsyncResult<'a,'b> -> AsyncResult<'a,'b>
Type parameters: 'a, 'b
TryFinally(asyncResult, compensation)
Signature: (asyncResult:AsyncResult<'a,'b> * compensation:(unit -> unit)) -> AsyncResult<'a,'b>
Type parameters: 'a, 'b
TryWith(asyncResult, catchHandler)
Signature: (asyncResult:AsyncResult<'a,'b> * catchHandler:(exn -> AsyncResult<'a,'b>)) -> AsyncResult<'a,'b>
Type parameters: 'a, 'b
Using(resource, binder)
Signature: (resource:'T * binder:('T -> AsyncResult<'a,'b>)) -> AsyncResult<'a,'b>
Type parameters: 'T, 'a, 'b
Zero()
Signature: unit -> AsyncResult<unit,'b>
Type parameters: 'b
Fork me on GitHub