Skip to content

Releases: m-murad/sync-once

Second release

08 Aug 20:38
Compare
Choose a tag to compare

Breaking change
Change DoAgain() -> DoForce()

First release

22 Jul 10:08
Compare
Choose a tag to compare

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.