|
@@ -7,6 +7,9 @@ import { ServerConnection, ServiceManager } from '@jupyterlab/services';
|
|
|
|
|
|
import { IConnectionLost } from './tokens';
|
|
|
|
|
|
+/**
|
|
|
+ * A default connection lost handler, which brings up an error dialog.
|
|
|
+ */
|
|
|
export const ConnectionLost: IConnectionLost = async function(
|
|
|
manager: ServiceManager.IManager,
|
|
|
err: ServerConnection.NetworkError
|