Function destroy

  • Delete an item in the cache. Will throw an error if the item named by key is locked. Automatically handles api.cache.redisPrefix

    Parameters

    • key: string

    Returns Promise<boolean>