correct documentation regarding ExclusiveThreadPoolScheduler

This commit is contained in:
Tommy
2023-11-20 13:16:35 +00:00
parent 771d097026
commit de49e94f3d

View File

@@ -16,8 +16,8 @@ if (!Schedulers.isLoaded()) {
} }
``` ```
The `futur-standalone` module has two scheduler implementations available. The `ExclusiveThreadPoolScheduler` operates one thread pool, and ignores whether a task is due to be executed sync or async The `futur-standalone` module has two scheduler implementations available. The `ExclusiveThreadPoolScheduler` operates one thread pool, and throws an exception when sync tasks are attempted to be executed.
and uses the single pool regardless. The `ThreadPoolScheduler` uses a single-threaded "main" pool and a multi-threaded async pool. The `ThreadPoolScheduler` uses a single-threaded "main" pool and a multi-threaded async pool.
For Minecraft, Bukkit, Velocity and BungeeCord support is coming soon. Feel free to make PRs for other external library support as modules. For Minecraft, Bukkit, Velocity and BungeeCord support is coming soon. Feel free to make PRs for other external library support as modules.