moby/vendor/resenje.org/singleflight
Sebastiaan van Stijn dbdfc71026
vendor: resenje.org/singleflight v0.4.1
- fix race when returning call.shared

full diff: https://github.com/janos/singleflight/compare/v0.4.0...v0.4.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-12-12 16:07:13 +01:00
..
LICENSE daemon/disk_usage: Use context aware singleflight 2022-11-29 16:46:19 +01:00
README.md daemon/disk_usage: Use context aware singleflight 2022-11-29 16:46:19 +01:00
singleflight.go vendor: resenje.org/singleflight v0.4.1 2023-12-12 16:07:13 +01:00
withoutcancel.go vendor: resenje.org/singleflight v0.4.0 2023-09-12 09:34:03 +02:00
withoutcancel_go121.go vendor: resenje.org/singleflight v0.4.0 2023-09-12 09:34:03 +02:00

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.