Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wcpan.worker-1.3.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wcpan.worker-1.3.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file wcpan.worker-1.3.0.tar.gz.

File metadata

  • Download URL: wcpan.worker-1.3.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wcpan.worker-1.3.0.tar.gz
Algorithm Hash digest
SHA256 a1720b60038960a5d1dcb4cf8b450c6ea4613db31ea7670b8cff15080c1ba510
MD5 13a05a581436ccabcd9f518c2070382b
BLAKE2b-256 7a092eafabb2c4fba98d613a6c361725c82c5e93752e5737fa66638ee4e2155b

See more details on using hashes here.

File details

Details for the file wcpan.worker-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wcpan.worker-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 598796f14b58e466d1d6452bd6f48aa34fd2d701b019af5d7cd68d99ed86109d
MD5 7ffa8ad00717f59a1a8a5c6d53ec6302
BLAKE2b-256 698fc84b7d382e21dd8d9a3de1c73055242cec00f9d5a168145e9b44bd6ee0ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page