FSharp.Data.GraphQL


AsyncExtensions

Namespace: FSharp.Data.GraphQL

Functions and values

Function or valueDescription
asyncVal
Signature: AsyncValBuilder

Computation expression for working on AsyncVals.

Type extensions

Type extensionDescription
Bind(v, binder)
Signature: (v:AsyncVal<'T> * binder:('T -> Async<'?8966>)) -> Async<'?8966>
Type parameters: 'T, '?8966

CompiledName: AsyncBuilder.Bind

ReturnFrom(v)
Signature: v:AsyncVal<'T> -> Async<'T>
Type parameters: 'T

CompiledName: AsyncBuilder.ReturnFrom

Active patterns

Active patternDescription
( |Async|_| ) x
Signature: x:AsyncVal<'T> -> Async<'T> option
Type parameters: 'T

Active patter used for checking if AsyncVal wraps an Async computation.

CompiledName: |Async|_|

( |Immediate|_| ) x
Signature: x:AsyncVal<'T> -> 'T option
Type parameters: 'T

Active pattern used for checking if AsyncVal contains immediate value.

CompiledName: |Immediate|_|

Fork me on GitHub