Skip to content

prepare

prepare(inderun, options?): Promise<Preparation>

Makes registered providers ready ahead of a run. Optional, for applications that want the first call to be fast or want to show progress: without it, the first run of a task waits for what is loading by itself. A download starts only where autoDownload at registration or allowDownload here permits it. See ADR 019.

IndeRunApi

PrepareOptions

Promise<Preparation>

Exactly as IndeRunApi.prepare() does.