This commit is contained in:
Dante
2026-05-22 11:48:42 -07:00
parent 0a5075319f
commit 05f197c291
2665 changed files with 198448 additions and 1 deletions

View File

@ -0,0 +1,18 @@
package eval.luv;
/**
Once-only initialization.
@see https://aantron.github.io/luv/luv/Luv/Once
**/
@:coreType abstract Once {
/**
Allocates and initializes a once-only barrier.
**/
static public function init():Result<Once>;
/**
Guards the given callback to be called only once.
**/
public function once(callback:()->Void):Void;
}