Skip to main content

Class: ScheduledTaskStore

A store for managing scheduled tasks.

Extends

Constructors

new ScheduledTaskStore()

new ScheduledTaskStore(): ScheduledTaskStore

Returns

ScheduledTaskStore

Overrides

Store<ScheduledTask, 'scheduled-tasks'>.constructor

Source

lib/structures/ScheduledTaskStore.ts:10

Properties

repeatedTasks

readonly repeatedTasks: ScheduledTask<never, ScheduledTaskOptions>[] = []

Source

lib/structures/ScheduledTaskStore.ts:8

Methods

clear()

clear(): void

Returns

void

Overrides

Store.clear

Source

lib/structures/ScheduledTaskStore.ts:31


delete()

delete(key: string): boolean

Parameters

ParameterType
keystring

Returns

boolean

Overrides

Store.delete

Source

lib/structures/ScheduledTaskStore.ts:22


set()

set(key: string, value: ScheduledTask<never, ScheduledTaskOptions>): this

Parameters

ParameterType
keystring
valueScheduledTask<never, ScheduledTaskOptions>

Returns

this

Overrides

Store.set

Source

lib/structures/ScheduledTaskStore.ts:14