Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/legacy/examples/deps.ts>group

A better way to work with processes in Deno.
Go to Latest
function group
Re-export
import { group } from "https://deno.land/x/proc@0.20.37/legacy/examples/deps.ts";

Create a new Group for running processes.

Note that a Group cannot be garbage-collected until it is explicitly closed. If you don't close a group, its processes will be cleaned up when the Deno process exits. However, if you create a large number of groups without closing them, be aware that this will leak memory and potentially leak resources as well.

Returns

A new Group instance.