FSharpx.Extras


TaskBuilder

Namespace: FSharpx
Parent Module: Task

Constructors

ConstructorDescription
new(...)
Signature: (continuationOptions:TaskContinuationOptions option * scheduler:TaskScheduler option * cancellationToken:CancellationToken option) -> TaskBuilder

CompiledName: .ctor

Instance members

Instance memberDescription
Bind(m, f)
Signature: (m:Task<'?7997> * f:('?7997 -> Task<'?7998>)) -> Task<'?7998>
Type parameters: '?7997, '?7998
Combine(t1, t2)
Signature: (t1:Task<unit> * t2:(unit -> Task<'b>)) -> Task<'b>
Type parameters: 'b
Delay(body)
Signature: (body:(unit -> Task<'a>)) -> unit -> Task<'a>
Type parameters: 'a
For(sequence, body)
Signature: (sequence:seq<'a> * body:('a -> Task<unit>)) -> Task<unit>
Type parameters: 'a
Return(x)
Signature: x:'?7995 -> Task<'?7995>
Type parameters: '?7995
ReturnFrom(a)
Signature: a:Task<'a> -> Task<'a>
Type parameters: 'a
Run(body)
Signature: (body:(unit -> Task<'a>)) -> Task<'a>
Type parameters: 'a
TryFinally(body, compensation)
Signature: (body:(unit -> Task<'a>) * compensation:(unit -> unit)) -> Task<'a>
Type parameters: 'a
TryWith(body, catchFn)
Signature: (body:(unit -> Task<'a>) * catchFn:(exn -> Task<'a>)) -> Task<'a>
Type parameters: 'a
Using(res, body)
Signature: (res:'?8014 * body:('?8014 -> Task<'a>)) -> Task<'a>
Type parameters: '?8014, 'a
While(guard, body)
Signature: (guard:(unit -> bool) * body:(unit -> Task<unit>)) -> Task<unit>
Zero()
Signature: unit -> Task<unit>
Fork me on GitHub