events

package
v0.16.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Data core.Value
	Err  error
}

Event represents an event object that contains either an optional event data or error that occurred during an event

type Observable

type Observable interface {
	Subscribe(ctx context.Context, eventName string, options *values.Object) <-chan Event
}

Observable represents an interface of complex types that can have event subscribers.

Jump to

Keyboard shortcuts

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