Skip to main content

Class: ScheduledTaskStore

@sapphire/plugin-scheduled-tasks.ScheduledTaskStore

Hierarchy

Constructors

constructor

new ScheduledTaskStore()

Overrides

Store<ScheduledTask\>.constructor

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTaskStore.ts:7

Properties

repeatedTasks

Readonly repeatedTasks: ScheduledTask[] = []

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTaskStore.ts:5

Methods

clear

clear(): void

Returns

void

Overrides

Store.clear

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTaskStore.ts:28


delete

delete(key): boolean

Parameters

NameType
keystring

Returns

boolean

Overrides

Store.delete

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTaskStore.ts:19


set

set(key, value): ScheduledTaskStore

Parameters

NameType
keystring
valueScheduledTask

Returns

ScheduledTaskStore

Overrides

Store.set

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTaskStore.ts:11