Psignal
Bun

property

child_process.ForkOptions.signal

signal?: AbortSignal

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