minrk / allthekernels

A multiplexer kernel for Jupyter
MIT License
77 stars 14 forks source link

Make cell blocking #16

Closed davidbrochart closed 2 years ago

davidbrochart commented 4 years ago

Thanks for this great "meta"-kernel! One thing though, when executing two consecutive cells which use a different kernel, the second cell won't wait for the first one to finish, if the kernel of the second cell is not busy. In other words, the execution state is per kernel. While that may be useful in some situations, would it be possible to optionally block the execution until all kernels are idle?

SylvainCorlay commented 3 years ago

:+1: this is the main issue that we are seeing with allthekernels!

minrk commented 3 years ago

Yeah, definitely makes sense. I think reworking the relay_to_kernel to also wait for replies should work for this.