From 6a8ed87f6f19ad73c57a7a7d5efcd8dc1e5540ec Mon Sep 17 00:00:00 2001 From: Jacob Karlsson Date: Sat, 4 May 2024 18:54:32 +0200 Subject: [PATCH] Remove todo comment in favor of #3 --- lib/stream.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/stream.js b/lib/stream.js index 04de876..d11aa9b 100644 --- a/lib/stream.js +++ b/lib/stream.js @@ -458,7 +458,6 @@ class SyncStream extends Pipeable { * sink method * @param {Data} data */ - // TODO: hmm can this be async? it's a push-stream which is supposed to have a certain shape. let's see what happens if i keep it sync write(data) { // prettier-ignore if (!data) return this.#debug('Invalid data from remote peer: missing data')