promise-socket
Advanced tools
Changelog
v8.0.0 2024-06-21
promise-writable
with listeners leak fixed in
dex4er/js-promise-writable#55; closes dex4er/js-promise-socket#63.promise-duplex
with closed
property that works with Node.js >= 16;
closes dex4er/js-promise-socket#77.setTimeout
returns this
; closes: dex4er/js-promise-socket#72.Changelog
v7.0.0 2020-08-11
Changelog
v6.0.3 2019-12-26
read
method might be an empty
string.Changelog
v6.0.0 2019-07-15
writeAll
method doesn't close a socket.PromiseReadable
implements AsyncIterable
so it is possible to use
for await (const chunk of promiseReadable)
loop.iterate
is provided.Changelog
v5.0.0 2019-06-14
setTimeout
sets an event handler that destroys a socket with
TimeoutError
. The handler is removed if timeout is equal 0
.