Documentation ¶ Index ¶ type Trigger func New() Trigger func NewNoop() Trigger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Trigger ¶ type Trigger interface { Kick(id string) chan struct{} Triggered() <-chan struct{} Ready(id string) } func New ¶ func New() Trigger func NewNoop ¶ func NewNoop() Trigger NewNoop creates a noop trigger, which returns nil for all channels. Note that receiving or sending on these channels will block forever. This means that all places where this is used will essentially have a polling implementation. Source Files ¶ View all Source files noop.go trigger.go Click to show internal directories. Click to hide internal directories.