A multithread worker for Tornado
Project description
A multithread worker for Tornado.
from wcpan.worker import AsyncWorker
worker = AsyncWorker()
worker.start()
# this will be run on another thread
result = await worker.do(your_blocking_function)
# do this later
worker.do_later(your_blocking_function)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wcpan.worker-1.0.0.dev5.tar.gz.
File metadata
- Download URL: wcpan.worker-1.0.0.dev5.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53300f8c7c604f594a5b855e960c543d9eb51c05260c80cda2f75d8df29ea6e1
|
|
| MD5 |
af9bf6e2f4f38c66657f172127213fce
|
|
| BLAKE2b-256 |
b0d9a963bcbd4af33cf6c1904c409333f3c790053877c7ab6d43a9a5dd1d8d33
|
File details
Details for the file wcpan.worker-1.0.0.dev5-py3-none-any.whl.
File metadata
- Download URL: wcpan.worker-1.0.0.dev5-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7475864ff650f2c22d8fb0bbda35ffe410b97f2795b7432b88c62ed4a5f577fe
|
|
| MD5 |
c4733b7867d44e59f51c6765ad699d04
|
|
| BLAKE2b-256 |
7b9d1e1e91c5bbd01acc2f486e02f5c784bc4a2bd7550cca8b9d1ba2b30441e0
|