Represents a clearable object that can be garbage collected.

interface IClearable<K = string> {
    clear: (key?: K) => void;
    gc: () => void;
}

Type Parameters

  • K = string

    The type of key used for clearing.

Hierarchy (View Summary)

Properties

Properties

clear: (key?: K) => void
gc: () => void