Skip to content

Add Once object like in Golang

Compare
Choose a tag to compare
@ScottBob ScottBob released this 30 Jan 22:38
· 45 commits to master since this release

Once.run(() -> ... your code here ...)
Will execute that code once and only once.