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