Configuration that allows us to load or pull a prompt that has been created by the Google MakerSuite site and saved in Google Drive.

There is a simple in-memory cache of these prompts that is refreshed after the cacheTimeout specified in the configuration.

interface MakerSuiteHubConfig {
    cacheTimeout: number;
    caller?: AsyncCaller;
}

Properties

cacheTimeout: number

How long, in milliseconds, before a prompt is assumed stale and should be refreshed from the copy in Google Drive.

caller?: AsyncCaller