Optional
afterOptional
afterOptional
beforeOptional
beforeStart a session to retrieve a file from the network
Optional
options: CreateSessionOptions<BitswapWantBlockProgressEvents>Returns the current state of the wantlist for a peer, if it is being tracked
Returns the current state of the wantlist
Notify bitswap that a new block is available
Optional
options: ProgressOptions<BitswapNetworkNotifyProgressEvents>Start a session to retrieve a file from the network
Optional
options: AbortOptions & ProgressOptions<BitswapWantBlockProgressEvents>
If implemented, this method will be invoked after the start method.
All other components will have had their start method invoked before this method is called.