Optional
getNDKUserProfiles that match the filter.
Whether this cache adapter is expected to be fast. If this is true, the cache will be queried before the relays. When this is false, the cache will be queried in addition to the relays.
Optional
readyWeather the cache is ready.
Optional
addOptional
deleteOptional
discardOptional
fetchSpecial purpose
Optional
getFetches information about the relay.
Optional
getOptional
loadOptional
maxAgeForMissing: numberOptional
loadFetches a user's LNURL data from the cache.
The pubkey of the user to fetch the LNURL data for.
Optional
maxAgeInSecs: numberThe maximum age of the data in seconds.
Optional
maxAgeForMissing: numberThe maximum age of the data in seconds if it is missing before it returns that it should be refetched.
The LNURL data, null if it is not in the cache and under the maxAgeForMissing, or "missing" if it should be refetched.
Optional
onOptional
saveOptional
saveOptional
saveOptional
updateUpdates information about the relay.
Fetches profiles that match the given filter.