FSharpx.Extras


FSharpAsyncEx Type

Static members

Static member Description

FSharpAsyncEx.FSharpAsyncDownloadString(web, address)

Full Usage: FSharpAsyncEx.FSharpAsyncDownloadString(web, address)

Parameters:
Returns: Async<string>
web : WebClient
address : Uri
Returns: Async<string>

FSharpAsyncEx.FSharpAsyncGetResponse(w)

Full Usage: FSharpAsyncEx.FSharpAsyncGetResponse(w)

Parameters:
Returns: Async<WebResponse>
w : WebRequest
Returns: Async<WebResponse>

FSharpAsyncEx.FromBeginEnd(abegin, aend)

Full Usage: FSharpAsyncEx.FromBeginEnd(abegin, aend)

Parameters:
Returns: Async<'a>
abegin : Func<AsyncCallback, obj, IAsyncResult>
aend : Func<IAsyncResult, 'a>
Returns: Async<'a>

FSharpAsyncEx.IgnoreResult(a)

Full Usage: FSharpAsyncEx.IgnoreResult(a)

Parameters:
Returns: Async<unit>

Ignores (discards) the result of the async computation

a : Async<'a>
Returns: Async<unit>

FSharpAsyncEx.Parallel(a)

Full Usage: FSharpAsyncEx.Parallel(a)

Parameters:
Returns: Async<'a[]>
a : Async<'a> seq
Returns: Async<'a[]>

FSharpAsyncEx.Protect(a)

Full Usage: FSharpAsyncEx.Protect(a)

Parameters:
Returns: Async<Choice<'a, exn>>

Encapsulates any possible exceptions during bind in a Choice

a : Async<'a>
Returns: Async<Choice<'a, exn>>

FSharpAsyncEx.Return(a)

Full Usage: FSharpAsyncEx.Return(a)

Parameters:
    a : 'a

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

FSharpAsyncEx.Run(a)

Full Usage: FSharpAsyncEx.Run(a)

Parameters:
Returns: 'a
a : Async<'a>
Returns: 'a

FSharpAsyncEx.Select(o, f)

Full Usage: FSharpAsyncEx.Select(o, f)

Parameters:
Returns: Async<'b>
o : Async<'a>
f : Func<'a, 'b>
Returns: Async<'b>

FSharpAsyncEx.SelectMany(o, f, mapper)

Full Usage: FSharpAsyncEx.SelectMany(o, f, mapper)

Parameters:
Returns: Async<'c>
o : Async<'a>
f : Func<'a, Async<'b>>
mapper : Func<'a, 'b, 'c>
Returns: Async<'c>

FSharpAsyncEx.SelectMany(o, f)

Full Usage: FSharpAsyncEx.SelectMany(o, f)

Parameters:
Returns: Async<'b>
o : Async<'a>
f : Func<'a, Async<'b>>
Returns: Async<'b>

FSharpAsyncEx.Start(a)

Full Usage: FSharpAsyncEx.Start(a)

Parameters:
a : Async<unit>

FSharpAsyncEx.ToFSharpAsync(f)

Full Usage: FSharpAsyncEx.ToFSharpAsync(f)

Parameters:
Returns: Async<'a>
f : Func<'a>
Returns: Async<'a>