moby/vendor/resenje.org/singleflight
Paweł Gronowski 5fa011dc0c
vendor: resenje.org/singleflight v0.4.0
Fixes the context aware singleflight not preserving context values.

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

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-09-12 09:34:03 +02: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.0 2023-09-12 09:34:03 +02: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.