Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CoroutineCancelled = fmt.Errorf("coroutine cancelled")
View Source
var CoroutineFinished = fmt.Errorf("coroutine finished")
Functions ¶
This section is empty.
Types ¶
type AcceptYieldFunc ¶
type Coroutine ¶
type Coroutine struct {
// contains filtered or unexported fields
}
func MakeCoroutine ¶
func MakeCoroutine(user AcceptYieldFunc) *Coroutine
Click to show internal directories.
Click to hide internal directories.