-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The CompletionStage
returned by future methods will continue execution on a Tokio thread if any of the async combinators are used, e.g. CompletionStage.theAccept(...).
This can cause problems if the chained computation calls anything that might use block_on
.
Java doesn't have a global executor thread poll like C# does. We need to do one of the following:
- Carefully review our usage of
block_on
in each library (or remove it altogether). - Initialize a static thread poll on which the Java backend can complete futures.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request