/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_futures.py | 248 f_one_callbacks.add_done_callback(_fakefunc) 257 f_two_callbacks.add_done_callback(first_cb) 258 f_two_callbacks.add_done_callback(last_cb) 266 f_many_callbacks.add_done_callback(first_cb) 268 f_many_callbacks.add_done_callback(_fakefunc) 269 f_many_callbacks.add_done_callback(last_cb) 514 f.add_done_callback(self._make_callback(bag, 42)) 515 f.add_done_callback(self._make_callback(bag, 17)) 528 f.add_done_callback(self._make_callback(bag, 100)) 547 f.add_done_callback(cb1) [all …]
|
D | test_tasks.py | 288 t.add_done_callback(Dummy()) 369 t.add_done_callback(Dummy()) 1310 def add_done_callback(self, fn): member in BaseTaskTests.test_step_result_future.Fut 1312 super().add_done_callback(fn) 1960 fut.add_done_callback(cancelling_callback) 2025 def add_done_callback(self, *args): member in add_subclass_tests.CommonFuture 2027 return super().add_done_callback(*args) 2155 fut.add_done_callback(cb) 2177 fut.add_done_callback(cb) 2196 fut.add_done_callback(cb) [all …]
|
D | test_proactor_events.py | 153 self.loop._proactor.send.return_value.add_done_callback.\ 520 self.proactor.recv.return_value.add_done_callback.assert_called_with( 528 self.proactor.recv.return_value.add_done_callback.assert_called_with(
|
D | test_base_events.py | 592 fut.add_done_callback(lambda fut: self.loop.stop()) 602 fut.add_done_callback(lambda fut: self.loop.stop()) 619 fut.add_done_callback(lambda *args: self.loop.stop())
|
/external/python/futures/ |
D | test_futures.py | 544 f.add_done_callback(fn) 554 f.add_done_callback(fn) 564 f.add_done_callback(fn) 589 f.add_done_callback(raising_fn) 590 f.add_done_callback(raising_old_style_fn) 591 f.add_done_callback(fn) 606 f.add_done_callback(fn) 616 f.add_done_callback(fn) 626 f.add_done_callback(fn) 769 f.add_done_callback(fn)
|
/external/python/cpython3/Lib/asyncio/ |
D | tasks.py | 210 result.add_done_callback(self._wakeup) 340 fut.add_done_callback(cb) 387 f.add_done_callback(_on_completion) 455 f.add_done_callback(_on_completion) 635 fut.add_done_callback(functools.partial(_done_callback, i)) 688 inner.add_done_callback(_done_callback)
|
D | proactor_events.py | 217 self._read_fut.add_done_callback(self._loop_reading) 294 self._write_fut.add_done_callback(self._loop_writing) 297 self._write_fut.add_done_callback(self._loop_writing) 317 self._read_fut.add_done_callback(self._pipe_closed) 492 f.add_done_callback(self._loop_self_reading) 534 f.add_done_callback(loop)
|
D | futures.py | 265 def add_done_callback(self, fn): member in Future 420 destination.add_done_callback(_call_check_cancel) 421 source.add_done_callback(_call_set_state)
|
D | windows_events.py | 365 f.add_done_callback(loop_accept_pipe) 769 f.add_done_callback(callback)
|
D | base_events.py | 452 future.add_done_callback(_run_until_complete_cb)
|
D | selector_events.py | 462 fut.add_done_callback(
|
/external/python/cpython3/Lib/test/ |
D | test_concurrent_futures.py | 542 f.add_done_callback(fn) 553 f.add_done_callback(fn) 564 f.add_done_callback(fn) 583 f.add_done_callback(raising_fn) 584 f.add_done_callback(fn) 598 f.add_done_callback(fn) 609 f.add_done_callback(fn) 620 f.add_done_callback(fn)
|
/external/python/cpython3/Doc/library/ |
D | asyncio-task.rst | 214 - Callbacks registered with :meth:`add_done_callback` are always called 259 .. method:: add_done_callback(fn) 269 ``fut.add_done_callback(functools.partial(print, "Future:", 319 :meth:`~Future.add_done_callback` method to be notified when the future is 327 :meth:`Future.add_done_callback` method to describe explicitly the control 343 future.add_done_callback(got_result)
|
D | concurrent.futures.rst | 305 .. method:: add_done_callback(fn)
|
/external/python/cpython3/Lib/concurrent/futures/ |
D | _base.py | 361 def add_done_callback(self, fn): member in Future
|
/external/python/futures/concurrent/futures/ |
D | _base.py | 418 def add_done_callback(self, fn): member in Future
|
/external/python/futures/docs/ |
D | index.rst | 250 .. method:: Future.add_done_callback(fn)
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 12 _Py_IDENTIFIER(add_done_callback);
|