Terser logging
This commit is contained in:
parent
5338890e76
commit
c8fc52a685
|
@ -65,9 +65,9 @@ export function boot(ds: Ref, debug: boolean = false, WebSocketConstructor?: typ
|
|||
function succeed(ws: WebSocket) {
|
||||
if (final) return;
|
||||
final = true;
|
||||
console.log('opened', ws);
|
||||
console.log('opened', addr.url);
|
||||
on stop {
|
||||
console.log('closing', ws);
|
||||
console.log('closing', addr.url);
|
||||
ws.close();
|
||||
}
|
||||
ws.onclose = () => facet.turn(() => { stop {} });
|
||||
|
|
Loading…
Reference in New Issue