Releases: m-murad/sync-once
Releases · m-murad/sync-once
Second release
First release
Initial release with following functions
once.Do(f func())
- Will execute the function once.
once.DoAgain(f func())
- Will execute the function again even if Do() has been executed earlier.
once.Reset()
- Will mark the once as not done.