Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultPool ¶
type ResultPool[A any, R any] interface { Invoke(A) pond.ResultTask[R] Submit(func() (R, error)) pond.ResultTask[R] StopAndWait() }
func NewResultPool ¶
func NewResultPool[A any, R any](size int, fn func(arg A) (R, error)) ResultPool[A, R]
Click to show internal directories.
Click to hide internal directories.