We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e56c31 commit aac129aCopy full SHA for aac129a
platform-includes/configuration/drain-example/javascript.node.mdx
@@ -2,6 +2,8 @@ The `close` method optionally takes a timeout in milliseconds and returns a
2
promise that resolves when all pending events are flushed, or the timeout kicks
3
in.
4
5
+Note that you can call this method on `SIGTERM` to gracefully shut down a service or container.
6
+
7
```javascript
8
Sentry.close(2000).then(function () {
9
process.exit();
0 commit comments