mirror of https://codeberg.org/pzp/pzp-sync.git
Remove todo comment in favor of #3
This commit is contained in:
parent
7e56b024c9
commit
6a8ed87f6f
|
@ -458,7 +458,6 @@ class SyncStream extends Pipeable {
|
||||||
* sink method
|
* sink method
|
||||||
* @param {Data} data
|
* @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) {
|
write(data) {
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
if (!data) return this.#debug('Invalid data from remote peer: missing data')
|
if (!data) return this.#debug('Invalid data from remote peer: missing data')
|
||||||
|
|
Loading…
Reference in New Issue