microsoft / jupyter-core

Library for writing Jupyter kernels in .NET Core
MIT License
108 stars 23 forks source link

Support kernel interrupt messages #55

Closed rmshaffer closed 4 years ago

rmshaffer commented 4 years ago

As documented here: https://jupyter-client.readthedocs.io/en/stable/messaging.html#kernel-interrupt

Jupyter kernels can set interrupt_mode to message in the kernelspec, which will result in interrupt_request messages being sent when the user chooses to interrupt the Jupyter kernel.

This functionality should be exposed for kernels built on top of jupyter-core.