Skip to content

Interface: CacheOptions ​

How the SDK keeps prompts in memory.

Properties ​

ttlMs? ​

ts
optional ttlMs?: number;

How long the fetched environment is served without checking for a newer deployment, in milliseconds. Defaults to 30000. This is roughly the most a deploy can take to reach an active caller.

Released under the MIT licence.