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