TaskChain icon indicating copy to clipboard operation
TaskChain copied to clipboard

User supplied Queues and Executors

Open aikar opened this issue 8 years ago • 0 comments

Desire to allow user to supply their own queue to Bukkit/Sponge implementations.

Major Issue: Right now, a factory is expected to be 1 to 1 relation to its queue. if factory shuts down, the queue shuts down.

But what if 2 factories share the same queue?

How do we process shutdown of a factory and block until its tasks are flushed from the async queue but allow the other factories to continue?

aikar avatar Nov 15 '16 02:11 aikar