subscriber

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMultiplier

func NewMultiplier(constructor Constructor, subscribersCount int) message.Subscriber

NewMultiplier returns multiplier subscriber decorator, which under the hood is calling subscribe multiple times to increase throughput.

Types

type Constructor

type Constructor func() (message.Subscriber, error)

Constructor is a function that creates a subscriber.

Jump to

Keyboard shortcuts

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