Function signalBackground

  • Sends a signal to the background with a message.

    Type Parameters

    Parameters

    • msg: T

      The message to be sent.

    Returns Promise<void>

    A promise that resolves when the signal is sent.