Type alias Provider

Provider: {
    request: ((request) => Promise<any>);
    sendAsync: ((request, callback) => void);
    send: ((request, callbackOrParams?, callback?) => void);
    on: ((event, listener) => void);
    removeListener: ((event, listener) => void);
    isPassport: boolean;
}

Type declaration

  • request: ((request) => Promise<any>)
      • (request): Promise<any>
      • Parameters

        Returns Promise<any>

  • sendAsync: ((request, callback) => void)
  • send: ((request, callbackOrParams?, callback?) => void)
  • on: ((event, listener) => void)
      • (event, listener): void
      • Parameters

        • event: string
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns void

  • removeListener: ((event, listener) => void)
      • (event, listener): void
      • Parameters

        • event: string
        • listener: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]

              Returns void

        Returns void

  • isPassport: boolean

Generated using TypeDoc