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 fileTake it
Add `gracefulCancel` option (#1109)ehmickybefore adoptiond8190e5
lines 1–4why, one step back1#!/usr/bin/env node2import {getCancelSignal} from 'execa';34const cancelSignal = await getCancelSignal();Runs CI tests on Node 23 (#1169)ehmickybefore adoptione330bd8
line 5why, one step back5cancelSignal.addEventListener('abort', () => {});