콘텐츠로 이동
한국어

StartupTask

이 콘텐츠는 아직 번역되지 않았습니다.

StartupTask = (signal) => Promise<void> | void

Defined in: src/CoordinatedStartupOptions.ts:46

One unit of startup work.

The signal aborts when the task’s phase runs out of budget, when another task of a phase that does not recover fails, and when the system is terminated while startup is still running — so a task that hands it to whatever it waits on (fetch, a driver that takes one) stops instead of finishing for nobody. A task that ignores it is abandoned all the same: its phase does not wait for it.

AbortSignal

Promise<void> | void