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.
Parameters
Section titled “Parameters”signal
Section titled “signal”AbortSignal
Returns
Section titled “Returns”Promise<void> | void
