Skip to main content

Think about such scene, some object has different state or periods, well we call periods.Among these periods, there can't be any two that could be both the present period. The object could be in only one period. For example, a human can only be one period of baby, youth, adult, old man and dead.

Project description

AsyncExclusivePeriods

Think about such scene, some object has different state or periods, well we call periods.Among these periods, there can't be any two that could be both the present period. The object could be in only one period. For example, a human can only be one period of baby, youth, adult, old man and dead.

So now not only can you get the exact period, but also await inside the period, await outside the period, await time when the object enters the period and await time when the object exits the period.

Remember to distribute different periods for one object.

This repository has been inherited by https://pypi.org/project/AsyncGear/.

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

AsyncExclusivePeriods-1.12.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

AsyncExclusivePeriods-1.12-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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