Documentation ¶
Overview ¶
Package runner provides a way for programs to easily be concurrent.
Anything that implements the Runnable interface can be added to a Runner, and then the Runner can run all of its Runnables. Runner also implements the Runnable interface, so they can be nested as necessary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runnable ¶
type Runnable interface {
Run()
}
A Runnable has a Run method that can block forever.
Click to show internal directories.
Click to hide internal directories.