Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) WithErrors ¶
func (*Pool) WithMaxWorkers ¶
type ResultPool ¶
type ResultPool[T any] struct { // contains filtered or unexported fields }
func NewResultPool ¶
func NewResultPool[T any]() *ResultPool[T]
func (*ResultPool[T]) Go ¶
func (p *ResultPool[T]) Go(fn func() (T, error))
func (*ResultPool[T]) Wait ¶
func (p *ResultPool[T]) Wait() ([]T, error)
type WaitGroup ¶
type WaitGroup struct {
// contains filtered or unexported fields
}
func (*WaitGroup) WaitAndCatch ¶
func (p *WaitGroup) WaitAndCatch() *safe.RecoveredPanic
Click to show internal directories.
Click to hide internal directories.