generic

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collect added in v0.0.2

type Collect[T any] interface {
	Add(e T) bool
}

type Consumer

type Consumer interface {
	Accept(any) error
}

type ElemType

type ElemType interface {
	any
}

type Splittable

type Splittable interface {
	EstimatedSize() int64
	ForeachRemaining(sink Consumer) error
	TryAdvance(sink Consumer) (bool, error)
}

Jump to

Keyboard shortcuts

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