Interface ITransport

interface ITransport {
    consoleAppEvent: Observable<any>;
    context: TransportContext;
    connect(): Promise<void>;
    writeAction(action: any): Promise<void>;
}

Methods

  • Returns Promise<void>

    A Promise which completes successfully once the console-app or the Chrome extension responds, i.e. gets connected.

    If the console-app or Chrome extension fails to respond, which usually happens because one of them is not installed.

  • Parameters

    • action: any

      Action object to be sent to the console app.

    Returns Promise<void>

Properties

consoleAppEvent: Observable<any>