Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
Env controls goroutines and deferred functions. Think of it as the "main thread." It is not goroutine-safe.
func (*Env) Close ¶
Close waits for all functions run with Go to finish. Then, it runs all Defer-ed functions. The defered functions are called in reverse order. The Environment must not be used after Close is called.
Click to show internal directories.
Click to hide internal directories.