MCPcopy Create free account
hub / github.com/Soft/iter / Next

Method Next

iterator.go:8–8  ·  view source on GitHub ↗

Next yields a new value from the Iterator.

()

Source from the content-addressed store, hash-verified

6type Iterator[T any] interface {
7 // Next yields a new value from the Iterator.
8 Next() Option[T]
9}
10
11type stringIter struct {

Callers 15

TestSliceFunction · 0.65
TestRepeatFunction · 0.65
TestTakeFunction · 0.65
TestMapFunction · 0.65
TestFuncFunction · 0.65
TestEmptyFunction · 0.65
TestOnceFunction · 0.65
TestFuseFunction · 0.65
NextMethod · 0.65
NextMethod · 0.65
NextMethod · 0.65
NextMethod · 0.65

Implementers 2

stringIteriterator.go
rangeIteriterator.go

Calls

no outgoing calls

Tested by 8

TestSliceFunction · 0.52
TestRepeatFunction · 0.52
TestTakeFunction · 0.52
TestMapFunction · 0.52
TestFuncFunction · 0.52
TestEmptyFunction · 0.52
TestOnceFunction · 0.52
TestFuseFunction · 0.52