README ¶ This is a package that allows multiple goroutines doing the same task to deduplicate their work: the task gets executed once with all subscribers getting the shared result back. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Worker func New() Worker Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Worker ¶ type Worker interface { Run(id string, fn func() interface{}) (<-chan interface{}, bool) } func New ¶ func New() Worker Source Files ¶ View all Source files job.goworker.go Click to show internal directories. Click to hide internal directories.