@graffiti-garden/api
    Preparing search index...

    Type Alias GraffitiObjectStream<Schema>

    GraffitiObjectStream: AsyncGenerator<
        | GraffitiObjectStreamError
        | GraffitiObjectStreamEntry<Schema>
        | GraffitiObjectStreamTombstone,
        GraffitiObjectStreamReturn,
    >

    A stream of data that returned by discover and continueDiscover.

    Non-fatal errors are returned within the stream rather than as exceptions that would halt the entire stream. This is because some implementations may pull data from multiple sources including some that may be unreliable. Such errors can generally be ignored, but should be printed for debugging. See GraffitiObjectStreamError.

    The stream is an AsyncGenerator that can be iterated over using for await loops or calling next on the generator. The stream can be terminated by breaking out of a loop calling return on the generator.

    The stream ends by returning a cursor string, that can be passed to continueDiscover to resume the stream from where it left off.

    Type Parameters