Skip to content

Commit

Permalink
docs: use pipe method for showing usage of operators as pure functi…
Browse files Browse the repository at this point in the history
…ons (#3187)
  • Loading branch information
fahad19 authored and benlesh committed Dec 15, 2017
1 parent efcd922 commit d5ced68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/operator-creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ function mySimpleOperator(someCallback) {
}
```

This can now be used with the `let()` method on the Observable:
This can now be used with the `pipe()` method on the Observable:

<!-- skip-example -->
```js
const obs = someObservable.let(mySimpleOperator(x => x + '!'));
const obs = someObservable.pipe(mySimpleOperator(x => x + '!'));
```

## Publish your operator as a separate library
Expand Down

0 comments on commit d5ced68

Please sign in to comment.