Interface ISessionContextDialogs

An interface for the session context dialogs.

interface ISessionContextDialogs {
    restart(session): Promise<boolean>;
    selectKernel(session): Promise<void>;

Hierarchy (view full)


  • Restart the session context.


    Returns Promise<boolean>

    A promise that resolves with whether the kernel has restarted.


    If there is a running kernel, present a dialog. If there is no kernel, we start a kernel with the last run kernel name and resolves with true. If no kernel has been started, this is a no-op, and resolves with false.