From 1a633e3cd8220fba0eee6371a2c48a775ba146b7 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 a042379fba42c5..e6972c8dad6ea4 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -363,6 +363,13 @@ added: v0.5.8 Not exported by the `zlib` module. It is documented here because it is the base class of the compressor/decompressor classes. +### zlib.close([callback]) + + +Close the underlying handle. + ### zlib.flush([kind], callback)