Psignal
Bun

property

child_process.SpawnOptionsWithoutStdio.signal

signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.