Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

tracking unload events with buffer #120

Open
jney opened this issue Jun 22, 2016 · 0 comments
Open

tracking unload events with buffer #120

jney opened this issue Jun 22, 2016 · 0 comments

Comments

@jney
Copy link

jney commented Jun 22, 2016

I'm tracking events on a web page events$.buffer(/* ... */).subscribe(/* ... */).
One of my source event is the event unload which generate a buffer. But i never can get the generated buffer.

const opening$ = Observable.return({})
  .concat(unload$)
  .flatMapLatest(x => Observable.timer(0, 2000))
  .skip(1)

events$.buffer(opening$).subscribe(buffer => {
  // i never go there on 'unload'
})

Any idea why ? Or how can i fix this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant