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

tracking unload events with buffer #120

Description

@jney

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions