HomeSort by relevance Sort by last modified time
    Searched refs:add_done_callback (Results 1 - 15 of 15) sorted by null

  /external/python/cpython3/Lib/test/test_asyncio/
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...]
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(
test_tasks.py 288 t.add_done_callback(Dummy())
369 t.add_done_callback(Dummy())
1310 def add_done_callback(self, fn): member in class:BaseTaskTests.test_step_result_future.Fut
2025 def add_done_callback(self, *args): member in class:add_subclass_tests.CommonFuture
    [all...]
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())
    [all...]
  /external/python/futures/
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
    [all...]
  /external/python/cpython3/Lib/asyncio/
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)
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)
futures.py 118 - Callbacks registered with add_done_callback() are always called
265 def add_done_callback(self, fn): member in class:Future
420 destination.add_done_callback(_call_check_cancel)
421 source.add_done_callback(_call_set_state)
windows_events.py 365 f.add_done_callback(loop_accept_pipe)
569 # add_done_callback() cannot be used because the wait may only complete
769 f.add_done_callback(callback)
selector_events.py 462 fut.add_done_callback(
    [all...]
base_events.py 452 future.add_done_callback(_run_until_complete_cb)
    [all...]
  /external/python/cpython3/Lib/test/
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/Lib/concurrent/futures/
_base.py 361 def add_done_callback(self, fn): member in class:Future
  /external/python/futures/concurrent/futures/
_base.py 418 def add_done_callback(self, fn): member in class:Future
  /external/python/cpython3/Modules/
_asynciomodule.c 12 _Py_IDENTIFIER(add_done_callback); variable
333 - Callbacks registered with add_done_callback() are always called
477 _asyncio.Future.add_done_callback
    [all...]

Completed in 380 milliseconds