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

Bug 1687491 - Implement a dispatcher and add an instance to the Glean singleton #31

Merged
merged 4 commits into from
Jan 27, 2021

Conversation

brizental
Copy link
Contributor

This is part 1.

Other PRs will come for actually using this dispatcher on the external APIs.

src/dispatcher.ts Outdated Show resolved Hide resolved
src/glean.ts Show resolved Hide resolved
src/dispatcher.ts Outdated Show resolved Hide resolved
src/dispatcher.ts Outdated Show resolved Hide resolved
src/glean.ts Outdated Show resolved Hide resolved
src/glean.ts Outdated Show resolved Hide resolved
src/dispatcher.ts Outdated Show resolved Hide resolved
src/dispatcher.ts Outdated Show resolved Hide resolved
src/dispatcher.ts Outdated Show resolved Hide resolved
src/dispatcher.ts Show resolved Hide resolved
src/dispatcher.ts Outdated Show resolved Hide resolved
//
// TODO: Bug 1687491 might resolve this issue.
// This is safe.
// Since the dispatcher is stopped, no external API calls will be executed.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this nice? The dispatcher actually fixed the issue. Now, it will only really be fixed after my next PR when the recording calls are indeed dispatched.

tests/dispatcher.spec.ts Outdated Show resolved Hide resolved
Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
@brizental brizental merged commit 0d5ac63 into mozilla:main Jan 27, 2021
@brizental brizental deleted the 1687491-dispatcher branch January 27, 2021 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants