OnTerminate hook is triggered when the app is in the process of being terminated (ex. on SIGTERM signal). Note that the app could be terminated abruptly without awaiting the hook completion.
()
| 723 | // |
| 724 | // Note that the app could be terminated abruptly without awaiting the hook completion. |
| 725 | OnTerminate() *hook.Hook[*TerminateEvent] |
| 726 | |
| 727 | // OnBackupCreate hook is triggered on each [App.CreateBackup] call. |
| 728 | OnBackupCreate() *hook.Hook[*BackupEvent] |
no outgoing calls