aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-06-12 16:07:24 +0200
committerGravatar Numerlor <[email protected]>2021-06-12 16:07:24 +0200
commit0b726398d2135ab414374412fa85f791569e3640 (patch)
tree76edf18b3d2f56bc4326dafdceff7db1d87112dc /tests
parentMerge pull request #1636 from ichard26/reminder-for-psf-black (diff)
Add an optional loop kwarg to scheduling.create_task
Before this change, the create_task util couldn't be used to schedule tasks from the init of cogs, as it relied on asyncio.create_task that uses the currently running loop to create the task. The loop kwarg allows the caller to pass the loop itself if there's no running loop yet.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions