Shut down
To shut down an SDK, use the close
method. This will cleanly stop all its background processes, flush all its buffered logs and terminate all its connections:
process.on("SIGTERM", async () => {
const hypertune = await getHypertune();
await hypertune.close();
});
Last updated