getInterruptionToken

getInterruptionToken() function

The token to monitor for interruption requests.

This token manages the whole IPresentation instance lifetime. Any long-running operation, such as loading or saving of presentation, will be interrupted via calling of the InterruptionTokenSource#interrupt method of the InterruptionTokenSource.

Result

InterruptionToken