Skip to content

feat: provide ability to create a custom tokio runtime builder #42

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bnjbvr
Copy link

@bnjbvr bnjbvr commented Mar 11, 2025

Could be a fix to #2. It's also useful to make the runtime public, so that if underlying code's both using the compat() method, and wants to spawn tasks, it can avoid creating another runtime just for doing so.

bnjbvr added 2 commits March 11, 2025 15:46
This is useful to avoid creating multiple tokio runtimes, when one needs
a way to spawn new futures and so on.
@bnjbvr bnjbvr force-pushed the custom-runtime-builder branch 2 times, most recently from 7c7947c to 5a27c8b Compare March 11, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant