CacheLookupResult<T>
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / CacheLookupResult
Interface: CacheLookupResult<T>
Section titled “Interface: CacheLookupResult<T>”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2777
Result of a cache lookup
Type Parameters
Section titled “Type Parameters”T = SingleProof
Properties
Section titled “Properties”
readonlyhit:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2779
Whether the lookup found a valid entry
entry?
Section titled “entry?”
readonlyoptionalentry:CacheEntry<T>
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2781
The cached entry (if found)
missReason?
Section titled “missReason?”
readonlyoptionalmissReason:"not_found"|"expired"|"invalid"|"evicted"
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2783
Reason for miss (if applicable)
lookupTimeMs
Section titled “lookupTimeMs”
readonlylookupTimeMs:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2785
Lookup time in milliseconds