mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-04-03 15:31:06 +00:00
commit
00ef1bbf85
@ -18,7 +18,7 @@ function closeAndWait (stream, callback) {
|
|||||||
pull(
|
pull(
|
||||||
pull.empty(),
|
pull.empty(),
|
||||||
stream,
|
stream,
|
||||||
pull.onEnd(() => callback())
|
pull.onEnd(callback)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user