Async rub an IPython notebook magic for asynchronous cell execution
summary
An IPython magic implements an async cell executor that starts a Tornado WebSocket server from the notebook, injects client JavaScript with session cookies, and sends code to a background worker using a concurrent.futures thread pool. It serializes namespace and results with pickle/json serialization and reads/writes notebooks via nbformat. It mostly works and preserves live output updates, but it is experimental: multiprocessing objects that aren’t picklable break, error handling and persistence are incomplete.
AI-written summary · about
