sworker

package
v0.0.0-...-05bc493 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL