Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/bg/receiveMsg

Manage incoming push messages

remarks

No exports - make sure to import file somewhere

Index

Events

onWebRequestBefore

  • onWebRequestBefore(details: WebRequestDetails): Promise<undefined | object>
  • Fired when a Web request is about to occur.

    remarks

    This is a blocking call

    Capture the fake Service Worker request and process messages https://goo.gl/4j4RtY

    Parameters

    • details: WebRequestDetails

      details on the request

    Returns Promise<undefined | object>

    cancel the request

Functions

getDevice

process

  • process(data: IGaeMsg): Promise<void>

Generated using TypeDoc