Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dbrattli
Created October 16, 2018 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrattli/8623321f48444b9a568604bd87dc6176 to your computer and use it in GitHub Desktop.
Save dbrattli/8623321f48444b9a568604bd87dc6176 to your computer and use it in GitHub Desktop.
IAsyncObservable
type IAsyncDisposable =
abstract member DisposeAsync: unit -> Async<unit>
type IAsyncObserver<'a> =
abstract member OnNextAsync: 'a -> Async<unit>
abstract member OnErrorAsync: exn -> Async<unit>
abstract member OnCompletedAsync: unit -> Async<unit>
type IAsyncObservable<'a> =
abstract member SubscribeAsync: IAsyncObserver<'a> -> Async<IAsyncDisposable>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment