@@ -257,13 +257,13 @@ def _timer_handle_cancelled(self, handle):
257
257
"""Notification that a TimerHandle has been cancelled."""
258
258
raise NotImplementedError
259
259
260
- def call_soon (self , callback , * args ):
260
+ def call_soon (self , callback , * args , context = None ):
261
261
return self .call_later (0 , callback , * args )
262
262
263
- def call_later (self , delay , callback , * args ):
263
+ def call_later (self , delay , callback , * args , context = None ):
264
264
raise NotImplementedError
265
265
266
- def call_at (self , when , callback , * args ):
266
+ def call_at (self , when , callback , * args , cotext = None ):
267
267
raise NotImplementedError
268
268
269
269
def time (self ):
@@ -279,7 +279,7 @@ def create_task(self, coro, *, name=None):
279
279
280
280
# Methods for interacting with threads.
281
281
282
- def call_soon_threadsafe (self , callback , * args ):
282
+ def call_soon_threadsafe (self , callback , * args , context = None ):
283
283
raise NotImplementedError
284
284
285
285
def run_in_executor (self , executor , func , * args ):
0 commit comments