hooks

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnErrorDrop

func OnErrorDrop(fn reactor.FnOnError)

func OnNextDrop

func OnNextDrop(fn reactor.FnOnDiscard)

Types

type Hooks

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

func Global

func Global() *Hooks

func (*Hooks) OnErrorDrop

func (h *Hooks) OnErrorDrop(e error)

func (*Hooks) OnNextDrop

func (h *Hooks) OnNextDrop(t reactor.Any)

Jump to

Keyboard shortcuts

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