More loading

This commit is contained in:
Asher
2019-01-11 18:21:31 -06:00
committed by Kyle Carberry
parent d44a0a3e59
commit d128ca6d68
4 changed files with 60 additions and 51 deletions

View File

@@ -2,7 +2,6 @@ import * as cp from "child_process";
import * as stream from "stream";
import * as events from "events";
import * as net from "net";
import { wush, Session } from "@coder/wush";
import { useBuffer, throwUnimplementedError, throwSyncError } from "./util";
/**
@@ -34,7 +33,7 @@ class ChildProcess extends events.EventEmitter implements cp.ChildProcess {
private emitter = new events.EventEmitter();
public constructor(private session: Session) {
public constructor(private session) {
super();
this.emitter = new events.EventEmitter();

View File

@@ -59,7 +59,6 @@ export abstract class Queue<T> {
public constructor(max?: number) {
this.items = new Map();
this.run = run;
this.max = max;
}