Skip to content

Instantly share code, notes, and snippets.

@dbrattli
Last active October 16, 2018 20:41
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/6804792e3d687d03916e19f0b1076cb9 to your computer and use it in GitHub Desktop.
Save dbrattli/6804792e3d687d03916e19f0b1076cb9 to your computer and use it in GitHub Desktop.
IObservable
type IDisposable =
abstract member Dispose: unit -> unit
type IObserver<'a> =
abstract member OnNext: 'a -> unit
abstract member OnError: exn -> unit
abstract member OnCompleted: unit -> unit
type IObservable<'a> =
abstract member Subscribe: IObserver<'a> -> IDisposable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment