Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for flushing observer via takeRecords() #74

Closed
igrigorik opened this issue Mar 17, 2017 · 0 comments
Closed

Add support for flushing observer via takeRecords() #74

igrigorik opened this issue Mar 17, 2017 · 0 comments
Milestone

Comments

@igrigorik
Copy link
Member

Related discussion in #66.

Use case: as a developer I want to flush and beacon all pending records when page visibility changes (e.g. transitions to 'hidden') or is about to be unloaded. Today, this is not possible.

To stay consistent with other <*>Observer patterns, we should support takeRecords():

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

No branches or pull requests

1 participant