Sealed
Private
Optional
done_Private
ok_Private
_docalls the function f if and only if Do is being called for the first time for this instance of Once.
In other words, given var once = new Once(), if once.do(f) is called multiple times, only the first call will invoke f, even if f has a different value in each invocation.
Generated using TypeDoc
an object that will perform exactly one action.