diff --git a/doc/api/http2.md b/doc/api/http2.md index 5efcd5fdcbe421..68ef172ca3b6fe 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2070,6 +2070,18 @@ If `callback` is provided, it is not invoked until all active sessions have been closed, although the server has already stopped allowing new sessions. See [`net.Server.close()`][] for more details. + +#### `server[Symbol.asyncDispose]()` + + + +> Stability: 1 - Experimental + +Calls [`server.close()`][] and returns a promise that fulfills when the +server has closed. + #### `server.setTimeout([msecs][, callback])`