fix(once): it is guaranteed that in the case of high concurrency, the…
… value of the first call to `Write` is written. (#54)
* fix(once): it is guaranteed that in the case of high concurrency, the value of the first call to `Write` is written.
* chore: optimize code