Documentation
¶
Overview ¶
a try at making FIFO container that runs and waits for method of it's Workers before it returns them, but doesn't block on writes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkQ ¶
type WorkQ struct {
// contains filtered or unexported fields
}
A queue of Workers that runs the Work() function on them async, but return them in FIFO order after Work() has finished
TODO: make it more natural to get things out look at the test for basic implementation of a typed wrapper
Click to show internal directories.
Click to hide internal directories.