mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-06-11 02:21:37 +00:00
@ -18,7 +18,7 @@ function closeAndWait (stream, callback) {
|
|||||||
pull(
|
pull(
|
||||||
pull.empty(),
|
pull.empty(),
|
||||||
stream,
|
stream,
|
||||||
pull.onEnd(() => callback())
|
pull.onEnd(callback)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user