exit:insert-on-callback in Framework Functions
(exit:insert-on-callback-> (-> void?)callback)
callback: (-> void?)Adds a callback to be called when exiting. This callback must not fail. If a callback should stop an exit from happening, use
exit:insert-can?-callback.