AppTerminateHandler type

앱 종료 후크용 핸들러

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