Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessArray ¶
func ProcessArray(ctx context.Context, data []interface{}, fn func(context.Context, interface{}) (interface{}, error)) ([]interface{}, error)
ProcessArray asynchronously processes an array, spinning up n (n being number of CPUs) goroutine worker instances. ProcessArray blocks until the workers have all finished
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.