Documentation ¶
Overview ¶
Package semerrgroup wraps an error group with a semaphore with configurable size, so you can control the number of tasks being executed simultaneously.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
Group is the Semaphore ErrorGroup itself.
func NewBlockingFirst ¶ added in v2.1.0
NewBlockingFirst creates a new group that runs the first item, waiting for its return, and only then starts scheduling/running the other tasks.
func NewSkipAware ¶
NewSkipAware returns a new Group of a given size and aware of pipe skips.
Click to show internal directories.
Click to hide internal directories.