Skip to content

Instantly share code, notes, and snippets.

View Szer's full-sized avatar

Ayrat Hudaygulov Szer

View GitHub Profile
module AsyncResultModule
type AsyncResult<'a> = Async<Result<'a, exn>>
[<RequireQualifiedAccess>]
module AsyncResult =
// Few basic functions
let bind (f: 'a -> AsyncResult<'b>) (a: AsyncResult<'a>): AsyncResult<'b> =