Skip to content

Instantly share code, notes, and snippets.

@kaushikgopal
Created June 26, 2016 05:55
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 kaushikgopal/53b6279aa77217514e611be1fd6f383d to your computer and use it in GitHub Desktop.
Save kaushikgopal/53b6279aa77217514e611be1fd6f383d to your computer and use it in GitHub Desktop.
Blog post snippet
Observable<Object> tapEventEmitter = _rxBus.toObserverable().share();
// which is really the same as:
Observable<Object> tapEventEmitter = _rxBus.toObserverable().publish().refcount();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment