Lines Matching defs:done
38 raise an exception when the future isn't done yet.
149 If the future is already done or cancelled, return False. Otherwise,
181 def done(self):
182 """Return True if the future is done.
194 the future is done and has an exception set, this exception is raised.
210 the future is done. If the future has been cancelled, raises
211 CancelledError. If the future isn't done yet, raises
223 """Add a callback to be run when the future becomes done.
226 the future is already done when this is called, the callback is
239 """Remove all instances of a callback from the "call when done" list.
254 """Mark the future done and set its result.
256 If the future is already done when this method is called, raises
266 """Mark the future done and set an exception.
268 If the future is already done when this method is called, raises
285 if not self.done():
288 if not self.done():
332 assert source.done()
350 assert source.done()
353 assert not dest.done()