Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

RxJavaObservableExecutionHook#224

Merged
benjchristensen merged 1 commit intoReactiveX:masterfrom
benjchristensen:execution-hooks
Apr 4, 2013
Merged

RxJavaObservableExecutionHook#224
benjchristensen merged 1 commit intoReactiveX:masterfrom
benjchristensen:execution-hooks

Conversation

@benjchristensen
Copy link
Member

Allow a plugin to intercept invocations of an Observable via its subscribe method.

Use cases:

  • extra logging or metrics for start, return and error events when subscribing
  • decorate (or replace) an 'onSubscribe' function with additional behavior
  • decorate an Exception
  • decorate a Subscription

This is modeled after Hystrix Plugins: http://netflix.github.com/Hystrix/javadoc/index.html?com/netflix/hystrix/strategy/executionhook/HystrixCommandExecutionHook.html

Javadocs will be at http://netflix.github.com/RxJava/javadoc/

Allow a plugin to intercept invocations of an Observable via its subscribe method.

Use cases:
 - extra logging or metrics for start, return and error events when subscribing
 - decorate (or replace) an 'onSubscribe' function with additional behavior
 - decorate an Exception
 - decorate a Subscription

This is modeled after Hystrix Plugins: http://netflix.github.com/Hystrix/javadoc/index.html?com/netflix/hystrix/strategy/executionhook/HystrixCommandExecutionHook.html

Javadocs will be at http://netflix.github.com/RxJava/javadoc/
@cloudbees-pull-request-builder

RxJava-pull-requests #76 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Apr 4, 2013
@benjchristensen benjchristensen merged commit 95156a9 into ReactiveX:master Apr 4, 2013
rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants