Home > tupelo-wasm-sdk > ICallbackBitswap
The callback-based version of Bitswap (current master).
Signature:
export interface ICallbackBitswap
Method | Description |
---|---|
get(cid, cb) | |
getMany(cids, callback) | |
getWantlist() | |
ledgerForPeer(peerId) | |
peers() | |
put(block, cb) | |
putMany(blocks, callback) | |
start(cb) | |
stat() | |
stop(cb) | |
wantlistForPeer(peerID) |