Skip to content

CacheLookupResult<T>

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / CacheLookupResult

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2777

Result of a cache lookup

T = SingleProof

readonly hit: boolean

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2779

Whether the lookup found a valid entry


readonly optional entry: CacheEntry<T>

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2781

The cached entry (if found)


readonly optional missReason: "not_found" | "expired" | "invalid" | "evicted"

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2783

Reason for miss (if applicable)


readonly lookupTimeMs: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2785

Lookup time in milliseconds