Skip to content

temporal-sa/threaded-heartbeat-decorator-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Threaded Heartbeat Decorator Python

Runs heartbeats in a background thread alongside an activity thread via the concurrent.futures.ThreadPoolExecutor. Shows that cancellation reaches both the primary activity thread and heartbeat thread via print statements.

Run

poetry run python threaded_heartbeat_python/main.py

About

Sample using heartbeats in Python threads

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages