Ask Your Question

Revision history [back]

There is an official callback event, but in my testing it fires long before the cell is finished processing. If you want to wait until the cell is fully displayed, you'll need to open a websocket to one of the addresses given at the beginning of this document

https://github.com/sagemath/sagecell/wiki/Session

and then listen for the appropriate response. The document gives sample messages for the entire process of communicating with the cell server, including interacts.

There is an official callback event, but in my testing it fires long before the cell is finished processing. If you want to wait until the cell is fully displayed, you'll need to open a websocket to one of the addresses given at the beginning of this document

https://github.com/sagemath/sagecell/wiki/Session

and then listen for the appropriate response. The document gives sample messages for the entire process of communicating with the cell server, including interacts.