Closed rushiagr closed 2 years ago
Comment was wrong, will be fixed in next version.
Setting threaded=True
creates a new daemon thread and an infinite while loop is used in this example to keep the main thread alive/blocked. Multi-line comments here explain the same. You can use anything from static sleep to threading wait event loop to block the main thread as per your requirement.
file: examples/threaded_ticker.py