Documentation
¶
Index ¶
- type AttachableSimpleSlotWorker
- func (v *AttachableSimpleSlotWorker) AttachAsNested(m *smachine.SlotMachine, outer smachine.DetachableSlotWorker, loopLimit uint32, ...) (wasDetached bool)
- func (v *AttachableSimpleSlotWorker) AttachTo(m *smachine.SlotMachine, signal *synckit.SignalVersion, loopLimit uint32, ...) (wasDetached bool, callCount uint)
- func (v *AttachableSimpleSlotWorker) WakeupWorkerOnEvent()
- func (v *AttachableSimpleSlotWorker) WakeupWorkerOnSignal()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachableSimpleSlotWorker ¶
type AttachableSimpleSlotWorker struct {
// contains filtered or unexported fields
}
func NewAttachableSimpleSlotWorker ¶
func NewAttachableSimpleSlotWorker() *AttachableSimpleSlotWorker
Very simple implementation of a slot worker. No support for detachments.
func (*AttachableSimpleSlotWorker) AttachAsNested ¶
func (v *AttachableSimpleSlotWorker) AttachAsNested(m *smachine.SlotMachine, outer smachine.DetachableSlotWorker, loopLimit uint32, fn smachine.AttachedFunc) (wasDetached bool)
func (*AttachableSimpleSlotWorker) AttachTo ¶
func (v *AttachableSimpleSlotWorker) AttachTo(m *smachine.SlotMachine, signal *synckit.SignalVersion, loopLimit uint32, fn smachine.AttachedFunc) (wasDetached bool, callCount uint)
func (*AttachableSimpleSlotWorker) WakeupWorkerOnEvent ¶
func (v *AttachableSimpleSlotWorker) WakeupWorkerOnEvent()
func (*AttachableSimpleSlotWorker) WakeupWorkerOnSignal ¶
func (v *AttachableSimpleSlotWorker) WakeupWorkerOnSignal()
Click to show internal directories.
Click to hide internal directories.