I'm running version 4.1.0 so I'll update to 5.0 and check if finished_execute.CodeCell gets thrown. If not, I'll file an issue.
On Wednesday, April 5, 2017 at 7:11:36 AM UTC-7, takowl wrote: > > On 4 April 2017 at 23:34, Adam Rule <[email protected] <javascript:>> > 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/484c1eaa-6c1b-44a8-bb5c-f98c76faf620%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
