mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-05-18 06:30:23 -04:00
post done
This commit is contained in:
parent
be98abd3b5
commit
f47aaa5195
3 changed files with 17 additions and 2 deletions
|
@ -9,9 +9,9 @@ def return_after_5_secs(message):
|
|||
return message
|
||||
|
||||
pool = ThreadPoolExecutor(3)
|
||||
|
||||
|
||||
future = pool.submit(return_after_5_secs, ("hello"))
|
||||
|
||||
print(future.done())
|
||||
sleep(5)
|
||||
print(future.done())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue