Skip to main content
Module

x/tpy/mod.ts>Pylon.PylonWebSocket.Response

🔑 A strongly typed Pylon API client.
Go to Latest
type alias Pylon.PylonWebSocket.Response
import { type Pylon } from "https://deno.land/x/tpy@v1.0.0-pre-release-8/mod.ts";
const { Response } = Pylon.PylonWebSocket;

A WebSocket Response from a workbench URL. Implementing a generic provides type sense for the data object.

Type Parameters

optional
T extends unknown[] = unknown[]

The type of the data object.

definition: [{ data: [...T]; method: ConsoleMethods; }]