Skip to content
Myr

graceful-ref.js

This file

Path

test/fixtures/graceful-ref.js

5 lines · 156 bytes · JavaScript

Last changed by

Runs CI tests on Node 23 (#1169)ehmickybefore adoptione330bd8

History of this file

Take it

Add `gracefulCancel` option (#1109)ehmickybefore adoptiond8190e5

lines 1–4why, one step back
1#!/usr/bin/env node
2import {getCancelSignal} from 'execa';34const cancelSignal = await getCancelSignal();

Runs CI tests on Node 23 (#1169)ehmickybefore adoptione330bd8

line 5why, one step back
5cancelSignal.addEventListener('abort', () => {});