chanit

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Channel

func Channel[T any](ch <-chan T) itkit.Iterator[T]

Types

type ChannelIterator

type ChannelIterator[T any] struct {
	// contains filtered or unexported fields
}

func (*ChannelIterator[T]) Next

func (it *ChannelIterator[T]) Next() bool

func (*ChannelIterator[T]) Value

func (it *ChannelIterator[T]) Value() T

Jump to

Keyboard shortcuts

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