interface MeshCallExecOptions {
    flush?: boolean;
    id: string;
    ttl?: string;
}

Properties

Properties

flush?: boolean

If true, the cache will first be flushed and the function will be executed.

id: string

Cache id when caching, flushing and retrieving function results.

ttl?: string

Time to live for the cache key. For example, 1 day, 1 hour. Refer to the syntax for the ms NPM package.