Created
October 16, 2018 18:16
-
-
Save dbrattli/8623321f48444b9a568604bd87dc6176 to your computer and use it in GitHub Desktop.
IAsyncObservable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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