helia
    Preparing search index...

    Interface WalkOptions<T>

    interface WalkOptions<T> {
        depth?: number;
        signal?: AbortSignal;
        includeChild?(
            child: CID,
            parent: BlockView<T, number, number, 0 | 1>,
        ): boolean;
    }

    Type Parameters

    • T

    Hierarchy

    Index

    Properties

    Methods

    Properties

    depth?: number

    Stop traversal once node.depth reaches this value. The root is depth 0. Default: Infinity (walk the entire DAG).

    signal?: AbortSignal

    Methods

    • Parameters

      Returns boolean