# ScheduleOptions

`type` in `plugin-tasks` · v0.1.0-next.1

<https://seedcord.org/docs/packages/plugin-tasks/0.1.0-next.1/types/schedule-options>

The options `schedule()` takes. `data` follows the task's type argument.

## Declaration

```ts
type ScheduleOptions<
    TData,
    TIn extends string = string
> = When<TIn> &
    (IsNoData<TData> extends true
        ? { data?: never }
        : { data: Storable<TData, "task data"> });
```
