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

Provide cross-platform ExecutionContext #224

Open
JD557 opened this issue Jun 16, 2022 · 0 comments
Open

Provide cross-platform ExecutionContext #224

JD557 opened this issue Jun 16, 2022 · 0 comments

Comments

@JD557
Copy link
Owner

JD557 commented Jun 16, 2022

Provide a cross-platform execution context.

JVM: scala.concurrent.ExecutionContext.global
JS: org.scalajs.macrotaskexecutor.MacrotaskExecutor
Native: Custom EC similar to scala.scala-native.ExecutionContext.QueueExecutionContext, that runs one (or more?) tasks on each loop iteration. When the loop exits, it should just push the queued tasks to the global EC.

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