This AI is still in early stages of development.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

Deactivates and destroys (deletes) either a specific process or all processes.

 

Syntax

Process.destroy(); // destroy all processes!
Process.destroy(processName); // destroy process with specific name

Parameters

ParameterTypeMandatoryNotesProcess Version
processNameString(error)

If specified, the process of that name will be deactivated then deleted.

If omitted, all processes will be deactivated then deleted.

0.1

Return Values

ValueTypeNotesProcess Version
undefinedUndefinedNothing is returned0.1

Examples

Process("process1"); // make process #1
Process("process2"); // #2
Process("process3"); // #3
Process.destroy("process1"); // #1 destroyed, #2 and #3 remain
Process.destroy(); // #2 and #3 destroyed

Availability

Requires:

 

  • No labels