Buckets:
| let shuttingDown = false | |
| let signalHandlersRegistered = false | |
| export function isShuttingDown() { | |
| return shuttingDown | |
| } | |
| export function registerShutdownSignalHandlers() { | |
| if (signalHandlersRegistered) return | |
| signalHandlersRegistered = true | |
| process.once("SIGTERM", markShuttingDown) | |
| process.once("SIGINT", markShuttingDown) | |
| } | |
| function markShuttingDown() { | |
| shuttingDown = true | |
| } | |
Xet Storage Details
- Size:
- 391 Bytes
- Xet hash:
- 531b819cd87399ea93461e723bd29dc7f9820707a92755345a9abc9969567fd0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.