Python port of React Scheduler (parity target: facebook/react packages/scheduler).
Project description
schedulyr
Python port of React Scheduler semantics (parity target: facebook/react packages/scheduler).
Install
pip install schedulyr
Tiny example
from schedulyr import NORMAL_PRIORITY, Scheduler
s = Scheduler()
s.schedule_callback(NORMAL_PRIORITY, lambda: print("work"), delay_ms=0)
s.run_until_idle()
Source of truth
- Upstream:
https://github.com/facebook/react/tree/main/packages/scheduler
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
schedulyr-0.0.1.tar.gz
(1.8 kB
view details)
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 schedulyr-0.0.1.tar.gz.
File metadata
- Download URL: schedulyr-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bcd1d0d445a2cb5030b861ef47f5213d140667365edeca8afce9365117beb23
|
|
| MD5 |
58339c15fb07e5d1bc727bbb5da51737
|
|
| BLAKE2b-256 |
f499648f5ec1d3b7c80e3d1f8f5301f476186ac3a8d33d5fe30587d7dfdec6bf
|
File details
Details for the file schedulyr-0.0.1-py3-none-any.whl.
File metadata
- Download URL: schedulyr-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d92a586f7a5feedd924884f8335a1cff5f1ce3ad30dee0f7f4b033ee86af0e8f
|
|
| MD5 |
c4f1292f1e7e5d4dc91975e556430dc1
|
|
| BLAKE2b-256 |
06bd1f3735eec7dc98462d1d3556328e3fd1f2d0f64ecb088d63f16bb514dbaa
|