Interface AddOptions

interface AddOptions {
    codec: BlockCodec<any, unknown>;
    hasher: MultihashHasher<number>;
    onProgress?: ((evt) => void);
    signal?: AbortSignal;
}

Hierarchy

Properties

codec: BlockCodec<any, unknown>
hasher: MultihashHasher<number>
onProgress?: ((evt) => void)

Type declaration

signal?: AbortSignal

Generated using TypeDoc