UNPKG

@melchyore/adonis-cache

Version:
15 lines (14 loc) 448 B
import type { CacheEventContract } from '@ioc:Adonis/Addons/Cache'; import CacheEvents from '../Enums/CacheEvents'; export default class CacheKeyWritten implements CacheEventContract { key: string; value: unknown; expiration: number; EVENT: CacheEvents; constructor(key: string, value: unknown, expiration: number); toJSON(): { key: string; value: unknown; expiration: number; }; }