Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrioritySlot ¶
type PrioritySlot struct {
// contains filtered or unexported fields
}
PrioritySlot is a slot in which only one context can thrive.
func NewPriority ¶
func NewPriority() *PrioritySlot
func (*PrioritySlot) Shutdown ¶
func (s *PrioritySlot) Shutdown()
Shutdown disables the slot forever.
func (*PrioritySlot) Stop ¶
func (s *PrioritySlot) Stop()
Stop cancels the running task if there is one.
Click to show internal directories.
Click to hide internal directories.