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

Forego kotlinx-coroutines interception #8

Open
kyay10 opened this issue Oct 12, 2024 · 0 comments
Open

Forego kotlinx-coroutines interception #8

kyay10 opened this issue Oct 12, 2024 · 0 comments

Comments

@kyay10
Copy link
Owner

kyay10 commented Oct 12, 2024

Interception slows down a lot of tests, and it's unnecessary since we don't switch coroutines. We could implement a simple trampolining implementation, but we should keep in mind that using delay or launch will still intercept our continuation, and so we should also implement a custom ContinuationInterceptor that runs the trampoline (I think we previously had a custom Interceptor for other reasons, so we can repurpose that).

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

No branches or pull requests

1 participant