Remove todo comment in favor of #3

This commit is contained in:
Jacob Karlsson 2024-05-04 18:54:32 +02:00
parent 7e56b024c9
commit 6a8ed87f6f
1 changed files with 0 additions and 1 deletions

View File

@ -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')