Skip to content

Latest commit

 

History

History
55 lines (29 loc) · 858 Bytes

File metadata and controls

55 lines (29 loc) · 858 Bytes

@fluxninja/aperture-js / KeyLookupResponse

Interface: KeyLookupResponse

Represents a cache value lookup.

Table of contents

Methods

Methods

getError

getError(): null | Error

Gets the error, if any.

Returns

null | Error

The error, or null if no error occurred.


getLookupStatus

getLookupStatus(): LookupStatus

Gets the lookup status.

Returns

LookupStatus

The lookup status.


getValue

getValue(): null | Buffer

Gets the cached value, if any.

Returns

null | Buffer

The cached value, or null if no value is available.