Function cancelFromBackground

  • Removes the callback function that handles requests from the background.

    Returns Promise<boolean>

    A Promise that resolves to true if the request was successfully cancelled, and false otherwise.