Skip to content

Commit

Permalink
[observable] Add publishReplay operator (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Aug 18, 2017
1 parent e36d5be commit 5eae3d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@sanity/observable/src/SanityObservable.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const {withLatestFrom} = require('rxjs/operator/withLatestFrom')
const {merge} = require('rxjs/operator/merge')
const {share} = require('rxjs/operator/share')
const {mergeMap} = require('rxjs/operator/mergeMap')
const {publishReplay} = require('rxjs/operator/publishReplay')
const {_catch} = require('rxjs/operator/catch')
const {switchMap} = require('rxjs/operator/switchMap')
const {_do} = require('rxjs/operator/do')
Expand Down Expand Up @@ -55,6 +56,7 @@ Object.assign(SanityObservable.prototype, {
switchMap: switchMap,
concatMap: concatMap,
share,
publishReplay,
debounceTime,
distinctUntilChanged,
withLatestFrom,
Expand Down
1 change: 1 addition & 0 deletions packages/@sanity/observable/test/exposed-api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function run(t) {
'switchMap',
'concatMap',
'share',
'publishReplay',
'debounceTime',
'distinctUntilChanged',
'withLatestFrom',
Expand Down

0 comments on commit 5eae3d9

Please sign in to comment.