Helia
    Preparing search index...

    Interface ExportStrategy

    Interface for different export strategies.

    When traversal has ended the export begins starting at the target CID, and the export strategy may do further traversal and writing to the car file.

    interface ExportStrategy {
        export<T extends BlockView<any, any, any, 0 | 1>>(
            cid: CID,
            block: T,
        ): AsyncGenerator<CID<unknown, number, number, Version>, void, undefined>;
    }

    Implemented by

    Index

    Methods

    Methods