In this documentation for completeRequest(returningItems:completionHandler:), there is a box shaded yellow that says:
Important If the system calls your block with an expired value of true, you must immediately suspend your app extension. If you fail to do this, the system terminates your extension’s process.
How does my app or my Share Extension know when the system calls the block spoken of?