diff --git a/src/lime/system/ThreadPool.hx b/src/lime/system/ThreadPool.hx index 8365bacdb..e961d995c 100644 --- a/src/lime/system/ThreadPool.hx +++ b/src/lime/system/ThreadPool.hx @@ -609,8 +609,13 @@ class ThreadPool extends WorkOutput } } -@:access(lime.system.ThreadPool) +@:access(lime.system.ThreadPool) @:forward(canceled) private abstract PseudoEvent(ThreadPool) from ThreadPool { + @:noCompletion @:dox(hide) public var __listeners(get, never):Array; + private inline function get___listeners():Array { return []; }; + @:noCompletion @:dox(hide) public var __repeat(get, never):Array; + private inline function get___repeat():Array { return []; }; + public function add(callback:Dynamic -> Void):Void { function callCallback(state:State, output:WorkOutput):Void {