Haxe expects documentation above metadata.

This commit is contained in:
Joseph Cloutier
2024-08-18 21:42:44 -04:00
parent b3e44ba03d
commit b7dd45586c

View File

@@ -14,10 +14,6 @@ import neko.vm.Deque;
import neko.vm.Thread; import neko.vm.Thread;
#end #end
#end #end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
/** /**
A background worker executes a single function on a background thread, A background worker executes a single function on a background thread,
@@ -25,6 +21,10 @@ import neko.vm.Thread;
have thread support, meaning the function will block on any other target. have thread support, meaning the function will block on any other target.
@see `ThreadPool` for improved thread safety, HTML5 threads, and more. @see `ThreadPool` for improved thread safety, HTML5 threads, and more.
**/ **/
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class BackgroundWorker class BackgroundWorker
{ {
private static var MESSAGE_COMPLETE = "__COMPLETE__"; private static var MESSAGE_COMPLETE = "__COMPLETE__";