Van Tran

24%
Flag icon
As the name implies, sync.Once is a type that utilizes some sync primitives internally to ensure that only one call to Do ever calls the function passed in — even on different goroutines.
Concurrency in Go: Tools and Techniques for Developers
Rate this book
Clear rating
Open Preview