Register a callback to be run during program shutdown (triggered, e.g., by the 'beforeunload' event when the webpage is being closed).
Note such tasks should be synchronous functions; otherwise, they probably won't complete.
Generated using TypeDoc
Register a callback to be run during program shutdown (triggered, e.g., by the 'beforeunload' event when the webpage is being closed).
Note such tasks should be synchronous functions; otherwise, they probably won't complete.