event

package
v0.0.0-...-cf57177 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher = event.Dispatcher[Type]

type Event

type Event = event.Event[Type]

type Listener

type Listener = event.Listener[Type]

func Listen

func Listen[E Event](eventType Type, handler func(E)) Listener

type Type

type Type = reflect.Type

func TypeOf

func TypeOf[E Event](e E) Type

Jump to

Keyboard shortcuts

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