cascade

package
v0.30.27 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callbacks

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

Callbacks is a miruken.SideEffect for cascading callbacks.

func Handle

func Handle(callbacks ...any) *Callbacks

Handle is a fluent builder for Callbacks.

func (*Callbacks) Apply

func (*Callbacks) Greedy

func (c *Callbacks) Greedy(
	greedy bool,
) *Callbacks

func (*Callbacks) WithConstraints

func (c *Callbacks) WithConstraints(
	constraints ...any,
) *Callbacks

func (*Callbacks) WithHandler

func (c *Callbacks) WithHandler(
	handler miruken.Handler,
) *Callbacks

type Messages

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

Messages is a miruken.SideEffect for cascading api messages.

func Post

func Post(messages ...any) *Messages

Post is a fluent builder for posting Messages.

func Publish

func Publish(messages ...any) *Messages

Publish is a fluent builder for publishing Messages.

func (*Messages) Apply

func (*Messages) WithHandler

func (m *Messages) WithHandler(
	handler miruken.Handler,
) *Messages

Jump to

Keyboard shortcuts

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