syrusakbary/promise

Async.invoke_later has no scheduler

mmerickel opened this issue · 0 comments

def invoke_later(self, fn):
if self.trampoline_enabled:
self._async_invoke_later(fn, scheduler)
else:
scheduler.call_later(0.1, fn)

Just from visual inspection this code is dependent on a scheduler variable that is not defined anywhere in scope.