DeleteManagedTasks (open)

Delete managed tasks

Syntax

LOADLIB "mod::system/lib/tasks.whlib";

OBJECT FUNCTION DeleteManagedTasks(INTEGER ARRAY taskids)

Parameters

INTEGER ARRAY taskids

Ids of the tasks that must be deleted

Return value

OBJECT

Promise that resolves when the deletion has been committed and the tasks have been cancelled

Description

Deletes and schedules cancellation of the specified managed tasks. The actual cancellation won't take place until the current transaction is committed