UNPKG

ipfs-bitswap

Version:

JavaScript implementation of the Bitswap data exchange protocol used by IPFS

15 lines 485 B
import type { Message } from '../message/message'; import type { CID } from 'multiformats/cid'; export declare class WantListEntry { private _refCounter; cid: CID; priority: number; wantType: Message.Wantlist.WantType; constructor(cid: CID, priority: number, wantType: Message.Wantlist.WantType); inc(): void; dec(): void; hasRefs(): boolean; get [Symbol.toStringTag](): string; equals(other: any): boolean; } //# sourceMappingURL=entry.d.ts.map