Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@d3nbr0 d3nbr0 released this 05 Feb 07:34
8230493

What's changed

  • Added task scheduler

About scheduler

The task scheduler is needed to run certain tasks once in a given period of time.
The period in which the task needs to be started is described using a cron template.

An example of a message that will be added to the scheduler:

@consumer.message(name='test.scheduler', schedule='*/5 * * * *')
async def scheduler_test_message(username: Optional[str] = None) -> None:
     print(f'Hello, world! My name is {username or "scheduler"}')

Full Changelog: v1.0.7...1.1.0