publisher

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher[T interface{}] interface {
	Publish(ctx context.Context, payload T, options ...asynq.Option) (*asynq.TaskInfo, error)
}

func New

func New[T interface{}](client *asynq.Client, producer producer.Producer[T]) Publisher[T]

Jump to

Keyboard shortcuts

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