import * as tpy from "https://deno.land/x/tpy@v1.0.0-RC/src/ws.ts";
An EventEmitter
forwarder that keeps an emitter alive while a WebSocket
reconnects. Listens to a deployment's console output.
Pylon uses WebSocket
s to listen to a deployment's console out/err.
While this idea is simple enough, the host closes the socket on an interval
(by design
),
having to make the user reconnect to the socket to continue listening.