Skip to content
Myr

graceful-send-fast.js

This file

Path

test/fixtures/graceful-send-fast.js

5 lines · 160 bytes · JavaScript

Last changed by

Add `gracefulCancel` option (#1109)ehmickybefore adoptiond8190e5

History of this file

Take it

Add `gracefulCancel` option (#1109)ehmickybefore adoptiond8190e5

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