CancelManagedTasks (open)

Cancel managed tasks

Syntax

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

OBJECT FUNCTION CancelManagedTasks(INTEGER ARRAY taskids)

Parameters

INTEGER ARRAY taskids

Ids of the tasks that must be cancelled

Return value

OBJECT

Promise that resolves when the cancellation has committed, the tasks have been cancelled and running tasks were terminated.

Description

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