aboutsummaryrefslogtreecommitdiff
path: root/examples/background_task.py
Commit message (Collapse)AuthorAgeFilesLines
* make examples on_ready consistentpikaninja2021-04-091-3/+1
|
* Fix background_task example to actually workRapptz2021-03-301-5/+4
|
* Update background_task example to use ext.tasksSebastian Law2021-03-301-9/+14
|
* Add missing asyncio imports from the examplesCapn2018-11-241-0/+1
|
* Removes redundant asyncio importModelmat2018-08-221-1/+0
| | | | Not much point importing asyncio when it's not being used, it was there for when @asyncio.coroutine was used previously
* Make all public is_ functions into methods instead of properties.Rapptz2017-01-291-1/+1
|
* Re-add Client.wait_until_readyRapptz2017-01-291-1/+1
|
* Update examples to use the new generic wait_for.Rapptz2017-01-261-1/+1
|
* Update examples to match the new rewrite API.Rapptz2017-01-031-16/+21
|
* Clarify `on_ready` triggering more than twice.Rapptz2016-06-101-10/+2
| | | | | | On that note, fix the background_task example to use `Client.run` instead of manual loop management. That way the task will be cleaned up and cancelled inside `Client.run`.
* Change all email/password pair examples to use token.Rapptz2016-04-081-1/+1
|
* Examples now use Python 3.5. Remove echo.py example.Rapptz2016-01-061-7/+6
|
* Add background_task example to showcase background tasks.Rapptz2015-12-191-0/+32