slot

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.0.3

func New(fn func(...interface{})) signalslots.Slot

Types

type DynamicSlot added in v0.1.4

type DynamicSlot struct {
	// contains filtered or unexported fields
}

func NewDynamicSlot added in v0.1.4

func NewDynamicSlot(i interface{}) (*DynamicSlot, error)

func (*DynamicSlot) Invoke added in v0.1.4

func (s *DynamicSlot) Invoke(args ...interface{})

type SlotWrapper

type SlotWrapper struct {
	Fn func(...interface{})
}

func (*SlotWrapper) Invoke

func (s *SlotWrapper) Invoke(args ...interface{})

Jump to

Keyboard shortcuts

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