FSharpx.Extras


TaskBuilderWithToken

Namespace: FSharpx
Parent Module: Task

Constructors

ConstructorDescription
new(continuationOptions, scheduler)
Signature: (continuationOptions:TaskContinuationOptions option * scheduler:TaskScheduler option) -> TaskBuilderWithToken

CompiledName: .ctor

Instance members

Instance memberDescription
Bind(t, f)
Signature: (t:Task<'?8026> * f:('?8026 -> TokenToTask<'?8027>)) -> CancellationToken -> Task<'?8027>
Type parameters: '?8026, '?8027
Bind(t, f)
Signature: (t:TokenToTask<'?8023> * f:('?8023 -> TokenToTask<'?8024>)) -> CancellationToken -> Task<'?8024>
Type parameters: '?8023, '?8024
Combine(t1, t2)
Signature: (t1:TokenToTask<unit> * t2:(unit -> TokenToTask<'b>)) -> TokenToTask<'b>
Type parameters: 'b
Delay(body)
Signature: (body:(unit -> TokenToTask<'a>)) -> unit -> TokenToTask<'a>
Type parameters: 'a
For(sequence, body)
Signature: (sequence:seq<'a> * body:('a -> TokenToTask<unit>)) -> TokenToTask<unit>
Type parameters: 'a
Return(x)
Signature: x:'?8021 -> CancellationToken -> Task<'?8021>
Type parameters: '?8021
ReturnFrom(t)
Signature: t:TokenToTask<'a> -> TokenToTask<'a>
Type parameters: 'a
ReturnFrom(t)
Signature: t:Task<'?8029> -> CancellationToken -> Task<'?8029>
Type parameters: '?8029
Run(body)
Signature: (body:(unit -> TokenToTask<'a>)) -> TokenToTask<'a>
Type parameters: 'a
TryFinally(body, compensation)
Signature: (body:(unit -> TokenToTask<'a>) * compensation:(unit -> unit)) -> TokenToTask<'a>
Type parameters: 'a
TryWith(body, catchFn)
Signature: (body:(unit -> TokenToTask<'a>) * catchFn:(exn -> TokenToTask<'a>)) -> TokenToTask<'a>
Type parameters: 'a
Using(res, body)
Signature: (res:'?8045 * body:('?8045 -> TokenToTask<'a>)) -> TokenToTask<'a>
Type parameters: '?8045, 'a
While(guard, body)
Signature: (guard:(unit -> bool) * body:(unit -> TokenToTask<unit>)) -> TokenToTask<unit>
Zero()
Signature: unit -> TokenToTask<unit>
Fork me on GitHub