mailbox

package
v0.85.0-pre.7 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailbox

type Mailbox[K comparable, V any] struct {
	// contains filtered or unexported fields
}

func NewMailbox

func NewMailbox[K comparable, V any]() *Mailbox[K, V]

func (*Mailbox[K, V]) C

func (m *Mailbox[K, V]) C() <-chan struct{}

func (*Mailbox[K, V]) Claim

func (m *Mailbox[K, V]) Claim() map[K]V

func (*Mailbox[K, V]) Deliver

func (m *Mailbox[K, V]) Deliver(k K, v V)

Jump to

Keyboard shortcuts

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