asyncAllProcesses

fnProcessFuture asyncAllProcesses()

Gets all processes asynchronously.

This function spawns a separate thread to collect all process information, allowing the caller to continue working while the collection happens in the background.

Returns

A ProcessFuture that will contain the array of Process objects.

Example:

auto future = asyncAllProcesses();
// Do other work while processes are being collected...
Process[] processes = future.get();
writeln("Found ", processes.length, " processes");