Optional
options: AbortOptionsSearches the network for peer info corresponding to the passed peer id.
Optional
options: RoutingOptionsFind the providers of the passed CID.
Optional
options: RoutingOptionsRetrieves a value from the network corresponding to the passed key.
Optional
options: RoutingOptionsSearch the network for peers that are closer to the passed key. Peer info should be yielded in ever-increasing closeness to the key.
Optional
options: RoutingOptionsThe implementation of this method should ensure that network peers know the caller can provide content that corresponds to the passed CID.
Optional
options: RoutingOptionsPuts a value corresponding to the passed key in a way that can later be retrieved by another network peer using the get method.
Optional
options: RoutingOptions
Helia will periodically re-provide every previously provided CID. Use this method to no longer re-provide the passed CID.