private async loadProbes()

in src/app/ui/main/main.component.ts [76:90]


    private async loadProbes() {
        try {
            this._allProbes = (await this._nlp.allProbes().toPromise()).probes

            if (!this.hasProbes) {
                this._error = 'No NLPCraft Probe to talk to :('
            } else {
                this._error = null
            }
        } catch (e) {
            this._allProbes = null

            this._error = e
        }
    }