# ShutdownTasks

`interface` in `core/node` · v0.12.0

<https://seedcord.org/docs/packages/core/0.12.0/interfaces/shutdown-tasks>

Adds work to a node bot's shutdown, in any phase before `ShutdownPhase.Release`.

```ts
interface ShutdownTasks
```

## Methods

### addTask

```ts
addTask(
    phase: TaskShutdownPhase,
    rest: Tail<Parameters<CoordinatedShutdown["addTask"]>>
): void
```
