syrusakbary / promise

Ultra-performant Promise implementation in Python
MIT License
362 stars 76 forks source link

Async.invoke_later has no scheduler #65

Open mmerickel opened 5 years ago

mmerickel commented 5 years ago

https://github.com/syrusakbary/promise/blob/d80d791fcc86c89713dac57b55e56c0a9024f153/promise/async_.py#L40-L44

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