batch

package
v3.30.0 Latest Latest
Warning

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

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

Documentation

Overview

Package batch contains a batch publisher implementation of events.Publisher.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPublisher

func NewPublisher(
	ctx context.Context,
	publisher events.Publisher,
	ts task.Starter,
	targetSize int,
	delay time.Duration,
	concurrency int,
) events.Publisher

NewPublisher returns a new batch publisher.

Types

This section is empty.

Jump to

Keyboard shortcuts

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