slot

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 2 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 SlotWithArgs

type SlotWithArgs func(...interface{})

func (SlotWithArgs) Invoke

func (s SlotWithArgs) Invoke(args ...interface{})

type SlotWithContext added in v0.0.15

type SlotWithContext func(context.Context)

func (SlotWithContext) Invoke added in v0.0.15

func (s SlotWithContext) Invoke(args ...interface{})

type SlotWithContextAndArgs added in v0.0.15

type SlotWithContextAndArgs func(context.Context, ...interface{})

func (SlotWithContextAndArgs) Invoke added in v0.0.15

func (s SlotWithContextAndArgs) Invoke(args ...interface{})

type SlotWithoutArgs

type SlotWithoutArgs func()

func (SlotWithoutArgs) Invoke

func (s SlotWithoutArgs) 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