mirror of https://github.com/nocturn9x/giambio.git
Minor fixes
This commit is contained in:
parent
e37ffdeb06
commit
646d4a4f93
|
@ -644,7 +644,6 @@ class AsyncScheduler:
|
||||||
self.run_ready = deque()
|
self.run_ready = deque()
|
||||||
self.suspended = deque()
|
self.suspended = deque()
|
||||||
|
|
||||||
|
|
||||||
def reschedule_joiners(self, task: Task):
|
def reschedule_joiners(self, task: Task):
|
||||||
"""
|
"""
|
||||||
Reschedules the parent(s) of the
|
Reschedules the parent(s) of the
|
||||||
|
|
|
@ -43,7 +43,7 @@ class Event:
|
||||||
async def trigger(self, value: Optional[Any] = None):
|
async def trigger(self, value: Optional[Any] = None):
|
||||||
"""
|
"""
|
||||||
Sets the event, waking up all tasks that called
|
Sets the event, waking up all tasks that called
|
||||||
pause() on it
|
wait() on it
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if self.set:
|
if self.set:
|
||||||
|
|
Loading…
Reference in New Issue