On 4 April 2017 at 23:34, Adam Rule <acr...@gmail.com> wrote: > My problem is that some actions seem to call code that runs asynchronously > and my post-application block runs before the action has been applied. >
Yeah, that's not uncommon with Javascript - lots of things are async, so a function may well return before the effect it's meant to produce has happened. Feel free to propose more events if the existing ones don't meet your needs - I don't think there's much cost to adding more events. > Looking through the code base > <https://github.com/jupyter/notebook/blob/5db6db740740bc62c9dd40a92f37726f7b59ac9e/notebook/static/notebook/js/codecell.js#L340> > I > thought I could listen for finished_execute.CodeCell but that event never > seems to fire. > That might be a bug - can you file an issue about it? And if you have time, try to track down why it might be going missing? And check that you've got the latest version of notebook - 5.0 was just released. Thomas -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscr...@googlegroups.com. To post to this group, send email to jupyter@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qjt35Z%3DxcOAwLWm3MFvw41pmi4oVyCy%3DNXnbnipxzN8VA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.