UNPKG

ipfs-core

Version:

JavaScript implementation of the IPFS specification

13 lines 677 B
/** * @param {object} config * @param {import('../../types').NetworkService} config.network */ export function createBw({ network }: { network: import('../../types').NetworkService; }): (options?: import("ipfs-core-types/src/stats").BWOptions | undefined) => AsyncIterable<import("ipfs-core-types/src/stats").BWResult>; export type BWOptions = import('ipfs-core-types/src/stats').BWOptions; export type BandwidthInfo = import('ipfs-core-types/src/stats').BWResult; export type libp2p = import('libp2p').Libp2p; export type CID = import('multiformats/cid').CID; export type AbortOptions = import('ipfs-core-types/src/utils').AbortOptions; //# sourceMappingURL=bw.d.ts.map