Skip to content

Wenxi/suspendable analytics #50

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

Merged
merged 20 commits into from
Oct 13, 2021
Merged

Wenxi/suspendable analytics #50

merged 20 commits into from
Oct 13, 2021

Conversation

wenxi-zeng
Copy link
Contributor

@wenxi-zeng wenxi-zeng commented Oct 5, 2021

  • suspendable analytics
  • add an internal Analytics constructor for dependency injection
  • add BlockingApi annotation to warn the use of blocking api
  • fix unit tests

@wenxi-zeng wenxi-zeng marked this pull request as ready for review October 12, 2021 19:21
@wenxi-zeng wenxi-zeng requested a review from prayansh October 12, 2021 19:21
class Analytics internal constructor(
val configuration: Configuration,
val store: Store,
val analyticsScope: CoroutineScope = CoroutineScope(SupervisorJob()),
Copy link
Contributor

Choose a reason for hiding this comment

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

can we add some comments regarding what each dispatcher will be responsible for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do

@wenxi-zeng wenxi-zeng merged commit 9b6540e into main Oct 13, 2021
@wenxi-zeng wenxi-zeng deleted the wenxi/suspendable-analytics branch October 13, 2021 20:46
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.

2 participants