expirationHandler | Apple Developer Documentation

A handler called shortly before the task’s background time expires.