Other Functions

defaultValue

Returns the contained value if ValueSome, otherwise returns the provided value

Function Signature

'a -> Task<'a voption> -> Task<'a>

defaultWith

Returns the contained value if ValueSome, otherwise evaluates the given function and returns the result.

Function Signature

(unit -> 'a) -> Task<'a voption> -> Task<'a>

valueSome

Wraps the provided value in an Task<'a voption>

Function Signature

'a -> Task<'a voption>

Last updated