Interface DebugChannel

A closeable channel to send debug protocol messages over with error/close handling

interface DebugChannel {
    close(): void;
    onClose(cb): void;
    onError(cb): void;
    onMessage(cb): void;
    send(content): void;
}

Implemented by

Methods