AppTerminateHandler type

Obsługa haków zakończenia aplikacji

type AppTerminateHandler = (
  context: AppTerminateContext
) => void | Promise<void>