interface Contexts {
    list(): string[];
    readCurrent(): string;
    readCurrentNamespace(): NamespaceName;
    testContextConnection(context: string): Promise<boolean>;
    updateCurrent(context: string): void;
}

Implemented by

Methods

  • Test the connection to a context

    Parameters

    • context: string

      the context name to test

    Returns Promise<boolean>

    true if the connection is successful