Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

click to hide/show revision 2
No.2 Revision

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.