Documentation
    Preparing search index...

    Class IteratorSource<T>

    An underlying source for an Iterator or AsyncIterator.

    const reader = new ReadableStream(new IteratorSource((function* () {
    yield 1
    yield 2
    })()))

    Type Parameters

    • T

    Implements

    • UnderlyingDefaultSource<T>
    Index

    Constructors

    Methods

    Constructors

    Methods