JuniperKernel (version 1.4.1.0)

shutdown_request: Kernel Info Request Handler

Description

Response to the shutdown_request Message Type

Usage

shutdown_request(request_msg)

Arguments

request_msg

A list passed in from doRequest representing the deserialized shutdown_request message JSON.

Value

A list having names msg_type and content. The msg_type is shutdown_reply, which corresponds to the shutdown_request message. The content field complies with the Jupyter wire message protocol specification for shutdown_reply messages.

References

http://jupyter-client.readthedocs.io/en/latest/messaging.html#kernel-shutdown

Examples

Run this code
# NOT RUN {
  request_msg <- list(restart=FALSE)
  shutdown_request(request_msg)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace