UNPKG

when-exit

Version:

Execute a function right before the process, or the browser's tab, is about to exit.

7 lines (6 loc) 145 B
/* IMPORT */ import Interceptor from './interceptor.js'; /* MAIN */ const whenExit = Interceptor.register; /* EXPORT */ export default whenExit;