internal

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptySubscription emptySubscription
View Source
var ErrCallOnSubscribeDuplicated = errors.New("call OnSubscribe duplicated")

Functions

func SafeCloseDone added in v0.3.0

func SafeCloseDone(done chan<- struct{}) (ok bool)

func TryDiscard

func TryDiscard(ctx context.Context, v reactor.Any)

Types

type Key

type Key string
const (
	KeyOnDiscard Key = "onDiscard"
	KeyOnError   Key = "onError"
)

Directories

Path Synopsis
Package buffer provides an implementation of an unbounded buffer.
Package buffer provides an implementation of an unbounded buffer.

Jump to

Keyboard shortcuts

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