package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

NewBroker creates a new pub/sub broker.
NewBrokerEx creates a new pub/sub broker, with a hook to be called when a new subscriber is registered.
NewContextSubscription creates a subscription that cancels the context when closed.

# Structs

Broker is a pub/sub broker instance.
Subscription is a Broker subscription instance.

# Interfaces

ClosableSubscription is an interface for a subscription that can be closed.

# Type aliases

OnSubscribeHook is the on-subscribe callback hook prototype.