Interface Serializer<T>

Type Parameters

  • T

Hierarchy

  • Serializer

Properties

Methods

Properties

key: string

Unique key used internally for caching deserialized values

Methods

  • If unable to deserialize value, deserializer should throw an error; this will prevent the cached item from being created

    Parameters

    • Optional value: string

    Returns undefined | T

  • If unable to serialize value, serializer should throw an error; this will prevent the cached item from being created

    Parameters

    • Optional value: T

    Returns undefined | string

Generated using TypeDoc