DotNetLightning


Async Module

Nested modules

Modules Description

Operators

Functions and values

Function or value Description

apply fAsync xAsync

Full Usage: apply fAsync xAsync

Parameters:
Returns: Async<'b>
fAsync : Async<('a -> 'b)>
xAsync : Async<'a>
Returns: Async<'b>

bind f xAsync

Full Usage: bind f xAsync

Parameters:
Returns: Async<'b>
f : 'a -> Async<'b>
xAsync : Async<'a>
Returns: Async<'b>

lift2 f x y

Full Usage: lift2 f x y

Parameters:
Returns: Async<'c>
f : 'a -> 'b -> 'c
x : Async<'a>
y : Async<'b>
Returns: Async<'c>

lift3 f x y z

Full Usage: lift3 f x y z

Parameters:
Returns: Async<'d>
f : 'a -> 'b -> 'c -> 'd
x : Async<'a>
y : Async<'b>
z : Async<'c>
Returns: Async<'d>

lift4 f x y z a

Full Usage: lift4 f x y z a

Parameters:
Returns: Async<'e>
f : 'a -> 'b -> 'c -> 'd -> 'e
x : Async<'a>
y : Async<'b>
z : Async<'c>
a : Async<'d>
Returns: Async<'e>

lift5 f x y z a b

Full Usage: lift5 f x y z a b

Parameters:
Returns: Async<'f>
f : 'a -> 'b -> 'c -> 'd -> 'e -> 'f
x : Async<'a>
y : Async<'b>
z : Async<'c>
a : Async<'d>
b : Async<'e>
Returns: Async<'f>

map f value

Full Usage: map f value

Parameters:
Returns: Async<'b>
f : 'a -> Async<'b>
value : Async<'a>
Returns: Async<'b>

result

Full Usage: result

Returns: 'a -> Async<'a>
Returns: 'a -> Async<'a>

withTimeout timeoutMillis op

Full Usage: withTimeout timeoutMillis op

Parameters:
    timeoutMillis : int
    op : Async<'a>

Returns: Async<'a option>
timeoutMillis : int
op : Async<'a>
Returns: Async<'a option>

Type extensions

Type extension Description

this.Bind

Full Usage: this.Bind

Parameters:
Returns: Async<'R>

Extended Type: AsyncBuilder

t : Task<'T>
f : 'T -> Async<'R>
Returns: Async<'R>

this.Bind

Full Usage: this.Bind

Parameters:
Returns: Async<'R>

Extended Type: AsyncBuilder

t : Task
f : unit -> Async<'R>
Returns: Async<'R>