Skip to content

Support for virtual threads in Java 21 #270

@oleg-smith

Description

@oleg-smith

Hello, I want to use Java Virtual Threads for such code:

StreamEx.of().parallel(executor).

Now exectutor can only be a ForkJoinPool.

Is there a way to pass Executors.newVirtualThreadExecutor() or a plan to add support for it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions