stopit
Raise asynchronous exceptions in other thread, control the timeout of blocks or callables with a context manager or a decorator
Raise asynchronous exceptions in other thread, control the timeout of blocks or callables with a context manager or a decorator
To install this package, run one of the following:
This module provides: - a function that raises an exception in another thread, including the main thread. - two context managers that may stop its inner block activity on timeout. - two decorators that may stop its decorated callables on timeout.
Summary
Raise asynchronous exceptions in other thread, control the timeout of blocks or callables with a context manager or a decorator
Last Updated
Feb 10, 2018 at 00:46
License
MIT
Total Downloads
3.1M
Supported Platforms
GitHub Repository
https://github.com/glenfant/stopit