From e585c4148765d89ce1cdffae036a2aac6ee9085e Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Sun, 29 Oct 2017 18:35:52 +0100 Subject: [PATCH] doc: add docs for Zlib#close() PR-URL: https://github.com/nodejs/node/pull/16592 Reviewed-By: James M Snell Reviewed-By: Gibson Fahnestock Reviewed-By: Anna Henningsen Reviewed-By: Gireesh Punathil Reviewed-By: Colin Ihrig --- doc/api/zlib.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/api/zlib.md b/doc/api/zlib.md index f5a8c7b57fc86c..1f4e23f2e4b543 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -406,6 +406,13 @@ The `zlib.bytesRead` property specifies the number of bytes read by the engine before the bytes are processed (compressed or decompressed, as appropriate for the derived class). +### zlib.close([callback]) + + +Close the underlying handle. + ### zlib.flush([kind], callback)