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

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

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function group
Re-export
import { group } from "https://deno.land/x/proc@0.20.14/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.