Commit baf55fc2 authored by Nathan Graule's avatar Nathan Graule 💻
Browse files

Switch type hints on callback function in call module

parent b45acf1e
......@@ -38,7 +38,8 @@ class Call:
"""Chain callback, called with the resolved value of the previous Call.
:param callback: Callback function to be called with the resolved value of the current Call."""
def cb(resolve: Callable, reject: Callable):
def cb(resolve, reject):
# type: (Callable, Callable) -> None
self.t.join()
if self.status == self.REJECTED:
reject(self.error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment