OptionalafterOptionalafterIf implemented, this method will be invoked after the stop method.
All other components will have had their stop method invoked before this method is called.
OptionalbeforeIf implemented, this method will be invoked before the start method.
It should not assume any other components have been started.
OptionalbeforeIf implemented, this method will be invoked before the stop method.
Any other components will still be running when this method is called.
Start a session to retrieve a file from the network
Optionaloptions: 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
Optionaloptions: ProgressOptions<BitswapNetworkNotifyProgressEvents>This method will be invoked to start the component.
It should not assume that any other components have been started.
This method will be invoked to stop the component.
It should not assume any other components are running when it is called.
Start a session to retrieve a file from the network
Optionaloptions: AbortOptions & ProgressOptions<BitswapWantBlockProgressEvents> & ProviderOptions
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.