GitHubJupyter
  • Preparing search index...
  • The search index is not available
@jupyterlab
  • @jupyterlab
  • services
  • KernelAPI
  • restartKernel

Function restartKernel

  • restartKernel(id: string, settings?: ServerConnection.ISettings): Promise<void>
  • Restart a kernel.

    Notes

    Uses the Jupyter Server API and validates the response model.

    The promise is fulfilled on a valid response (and thus after a restart) and rejected otherwise.

    Parameters

    • id: string
    • settings: ServerConnection.ISettings = ...

    Returns Promise<void>

    • Defined in packages/services/src/kernel/restapi.ts:128

Settings

Member Visibility

On This Page

Notes
GitHubJupyter
@jupyterlab
  • Loading...

Generated using TypeDoc