pubsub

package
v13.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 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 Manager

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

func NewPubSubManager

func NewPubSubManager() Manager

func (*Manager) Publish

func (m *Manager) Publish(sim *simtypes.SimCtx, ctx sdk.Context, key string, value interface{}) error

func (*Manager) Subscribe

func (m *Manager) Subscribe(key string, subName string, callback simtypes.SimCallbackFn)

Jump to

Keyboard shortcuts

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