Function: app.CancelScript
Stops execution of a script.
Syntax
{
"method": "app.CancelScript",
"params": {
"file": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> CancelScript( AdvString file );public Task<bool> CancelScriptAsync(string file, CancellationToken ct = default);cancelScript(file: string): Promise<boolean>;Parameters
file : string
Name of the .js file relative to scripts folder.
Result : bool
Always true.
Remarks
This method requires API control access.