type golang.org/x/sync/singleflight.Result
6 uses
golang.org/x/sync/singleflight (current package)
singleflight.go#L68: chans []chan<- Result
singleflight.go#L80: type Result struct {
singleflight.go#L121: func (g *Group) DoChan(key string, fn func() (any, error)) <-chan Result {
singleflight.go#L122: ch := make(chan Result, 1)
singleflight.go#L133: c := &call{chans: []chan<- Result{ch}}
singleflight.go#L177: ch <- Result{c.val, c.err, c.dups > 0}
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |