You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to show output from background ioloop process in real time and not only when prompting for it? It is a problem when using applications that are logging something.
minimal repro:
Run import tornado; tornado.ioloop.PeriodicCallback(lambda: print("test output"), 2000).start() in jupyter-console.
When I hit enter I get "test output" lines but they dont show up live.
The text was updated successfully, but these errors were encountered:
Btw. with async prompt-toolkit version >= 3.0.3 it was fairly easy to implement for my use-case by overwriting mainloop from ZMQTerminalInteractiveShell in my inherited shell class like that:
Is it possible to show output from background ioloop process in real time and not only when prompting for it? It is a problem when using applications that are logging something.
minimal repro:
import tornado; tornado.ioloop.PeriodicCallback(lambda: print("test output"), 2000).start()
in jupyter-console.The text was updated successfully, but these errors were encountered: