Skip to content

Commit

Permalink
Merge pull request #2433 from limerickgds/observable-bindCallback-docs
Browse files Browse the repository at this point in the history
docs(bindNodeCallback): fix boundSomeFunction should be called
  • Loading branch information
kwonoj authored Mar 2, 2017
2 parents d8a8d5d + 13b8e42 commit 7c41c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/observable/BoundCallbackObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class BoundCallbackObservable<T> extends Observable<T> {
* });
*
* const boundSomeFunction = Rx.Observable.bindCallback(someFunction);
* boundSomeFunction.subscribe(values => {
* boundSomeFunction().subscribe(values => {
* console.log(values) // [5, 'some string', {someProperty: 'someValue'}]
* });
*
Expand All @@ -129,7 +129,7 @@ export class BoundCallbackObservable<T> extends Observable<T> {
* });
*
* const boundSomeFunction = Rx.Observable.bindCallback(someFunction, (a, b, c) => a + b + c);
* boundSomeFunction.subscribe(value => {
* boundSomeFunction().subscribe(value => {
* console.log(value) // 'abc'
* });
*
Expand Down

0 comments on commit 7c41c08

Please sign in to comment.