cancel_after method
Leave feedback
On this page
Makes a request for cancellation after the expiration of the specified number of milliseconds.
def cancel_after(self, milliseconds):
...
| Parameter | Type | Description |
|---|---|---|
| milliseconds | int |
The number of milliseconds after which an operation will be cancelled. |
from groupdocs.search.common import Cancellation
cancellation = Cancellation()
cancellation.cancel_after(10_000) # Cancel after 10 seconds
These names call cancel_after too, limited to the overloads listed.
| Alias | Accepts |
|---|---|
cancel_after_int32 |
cancel_after_int32(milliseconds) |
- class
Cancellation
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.