The mention of "after the current iteration" was meant to emphasize that the
stop was not instantaneous, but it could have also been read as a guarantee
that one more poll call would take place.
Closes #672.
raise NotImplementedError()
def stop(self):
- """Stop the loop after the current event loop iteration is complete.
+ """Stop the I/O loop.
+
If the event loop is not currently running, the next call to start()
will return immediately.
Note that even after `stop` has been called, the IOLoop is not
completely stopped until `IOLoop.start` has also returned.
+ Some work that was scheduled before the call to `stop` may still
+ be run before the IOLoop shuts down.
"""
raise NotImplementedError()