Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner interface { // Concurrently executes a function wrapped in a goroutine. Run(task func()) error // Waits for all running functions to complete and frees resources. WaitAndClose() // Returns the number of currently executing functions. GetNumberOfRunningTasks() int // Returns the quota limit GetQuota() int }
Defines concurrency runner functionality.
Click to show internal directories.
Click to hide internal directories.