Optional callbackOptional decryptionKeys that will be used to decrypt messages.
It can be Asymmetric Private Keys and Symmetric Keys in the same array, all keys will be tried with both methods.
Optional pageOptional pageOptional peerThe peer to query. If undefined, a pseudo-random peer is selected from the connected Waku Store peers.
Optional pubThe pubsub topic to pass to the query. See Waku v2 Topic Usage Recommendations.
Optional timeRetrieve messages with a timestamp within the provided values.
Generated using TypeDoc
Callback called on pages of stored messages as they are retrieved.
Allows for a faster access to the results as it is called as soon as a page is received. Traversal of the pages is done automatically so this function will invoked for each retrieved page.
If the call on a page returns
true, then traversal of the pages is aborted. For example, this can be used for the caller to stop the query after a specific message is found.