Skip to content

Instantly share code, notes, and snippets.

Created June 29, 2017 06:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/ecef3021a9e17721fd307d0fdebd7d95 to your computer and use it in GitHub Desktop.
the description for this gist
Publisher.subscribe MUST call onSubscribe on the provided Subscriber prior to any other signals to that Subscriber and MUST return normally, except when the provided Subscriber is null in which case it MUST throw a java.lang.NullPointerException to the caller, for all other situations the only legal way to signal failure (or reject the Subscriber) is by calling onError (after calling onSubscribe).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment