function()

in Node/core/lib/botbuilder-location.js [83:94]


        function (session, results, next) {
            if (results.response && results.response.cancel) {
                session.endDialogWithResult(null);
            }
            else if (!session.dialogData.confirmed || (results.response && results.response.reset)) {
                session.send(consts_1.Strings.ResetPrompt);
                session.replaceDialog('locationPickerPrompt', session.dialogData.args);
            }
            else {
                next({ response: common.processLocation(session.dialogData.place) });
            }
        }