DeleteManagedTasks (open)
Delete managed tasks
Syntax
LOADLIB "mod::system/lib/tasks.whlib";
OBJECT FUNCTION DeleteManagedTasks(INTEGER ARRAY taskids)Parameters
INTEGER ARRAY taskidsIds of the tasks that must be deleted
Return value
OBJECTPromise 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