We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce5c30 commit 0ae9f5aCopy full SHA for 0ae9f5a
src/hxcoro/run/Setup.hx
@@ -81,7 +81,7 @@ class Setup {
81
static public function createLuvThreadPool() {
82
final pool = new hxcoro.thread.FixedThreadPool(10);
83
return createLuvGen(
84
- (uvLoop, loop) -> new hxcoro.dispatchers.LuvDispatcher(uvLoop, loop),
+ (uvLoop, loop) -> new hxcoro.dispatchers.ThreadPoolDispatcher(loop, pool),
85
dispatcher -> pool.shutDown()
86
);
87
}
0 commit comments