Bun

interface

child_process.MessagingOptions

interface MessagingOptions

  • killSignal?: number | Signals

    The signal value to be used when the spawned process will be killed by the abort signal.

  • serialization?: SerializationType

    Specify the kind of serialization used for sending messages between processes.

  • signal?: AbortSignal

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

  • timeout?: number

    In milliseconds the maximum amount of time the process is allowed to run.