Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPool ¶
Pool is an autogenerated mock type for the Pool type
type Pool ¶
type Pool interface {
// Send the request to the worker pool.
//
// Send should never be called after [Shutdown] is called.
Send(Request)
// Shutdown the worker pool.
//
// This method will block until all workers have finished their current
// tasks.
//
// It is safe to call shutdown multiple times.
Shutdown()
}
Click to show internal directories.
Click to hide internal directories.