/singleflight

Duplicate function call suppression with context

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Singleflight

GoDoc Go

Package singleflight provides a duplicate function call suppression mechanism similar to golang.org/x/sync/singleflight but with support for context cancelation.

Installation

Run go get resenje.org/singleflight from command line.