Type Alias AddedCacheEvent<TType>

AddedCacheEvent: {
    key: string;
    ttl: TimeSpan | null;
    type: "added";
    value: TType;
}

The event is dispatched when key is added.

IMPORT_PATH: "@daiso-tech/core/cache/contracts"

Type Parameters

  • TType = unknown