Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

🔑 A strongly typed Pylon API client.
Latest
type alias Pylon.PylonWebSocket.Response
import { type Pylon } from "https://deno.land/x/tpy@v1.0.0-RC/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; }]