Skip to main content

Interface: ScheduledTaskBaseStrategy

scheduled-tasks/src.ScheduledTaskBaseStrategy

Properties

client

client: unknown

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:6

Methods

connect

connect(): void

Returns

void

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:7


create

create(task, payload, options?): unknown

Parameters

NameType
taskstring
payloadunknown
options?ScheduledTasksTaskOptions

Returns

unknown

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:8


createRepeated

createRepeated(tasks): void

Parameters

NameType
tasksScheduledTaskCreateRepeatedTask[]

Returns

void

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:9


delete

delete(id): unknown

Parameters

NameType
idunknown

Returns

unknown

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:10


get

get(id): unknown

Parameters

NameType
idunknown

Returns

unknown

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:13


list

list(options?): unknown

Parameters

NameType
options?unknown

Returns

unknown

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:11


listRepeated

listRepeated(options?): unknown

Parameters

NameType
options?unknown

Returns

unknown

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:12


run

run(task, payload): unknown

Parameters

NameType
taskstring
payloadunknown

Returns

unknown

Defined in

projects/plugins/packages/scheduled-tasks/src/lib/types/ScheduledTaskBaseStrategy.ts:14