mirror of
https://github.com/silvanshade/tower-lsp-web-demo.git
synced 2025-01-22 19:56:04 +00:00
Refactoring
This commit is contained in:
parent
caf08cde97
commit
dfabf15298
1 changed files with 1 additions and 3 deletions
|
@ -96,9 +96,7 @@ export namespace PromiseMap {
|
|||
// FIXME: tracing effiency
|
||||
export class IntoServer extends Queue<Uint8Array> implements AsyncGenerator<Uint8Array, never, void> {
|
||||
enqueue(item: Uint8Array): void {
|
||||
const delimited = decoder.decode(item);
|
||||
const message = Headers.remove(delimited);
|
||||
Tracer.client(message);
|
||||
Tracer.client(Headers.remove(decoder.decode(item)));
|
||||
super.enqueue(item);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue