Newer
Older
vue-indexer / node_modules / puppeteer-core / src / common / ConnectionTransport.ts
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 263 bytes v1.0
/**
 * @license
 * Copyright 2020 Google Inc.
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @public
 */
export interface ConnectionTransport {
  send(message: string): void;
  close(): void;
  onmessage?: (message: string) => void;
  onclose?: () => void;
}