BindToCloseService
Allows unregisterable BindToClose callbacks. This is important because you can't unbind :BindToClose calls normally, so we need to provide another place to guarantee clean shutdowns.
Functions
RegisterPromiseOnCloseCallback
BindToCloseService:
RegisterPromiseOnCloseCallback
(
saveCallback:
function
) →
function
--
Call to unregister callback
Binds the promise to call on close. Can be unregistered