MCPcopy Create free account
hub / github.com/keepfool/vue-tutorials / exec

Function exec

06.Router/basic/js/vue-resource.js:1016–1026  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1014 return new Promise$1(function (resolve) {
1015
1016 function exec() {
1017
1018 handler = reqHandlers.pop();
1019
1020 if (isFunction(handler)) {
1021 handler.call(context, request, next);
1022 } else {
1023 warn('Invalid interceptor of type ' + typeof handler + ', must be a function');
1024 next();
1025 }
1026 }
1027
1028 function next(response) {
1029

Callers 2

nextFunction · 0.70
ClientFunction · 0.70

Calls 3

isFunctionFunction · 0.70
warnFunction · 0.70
nextFunction · 0.70

Tested by

no test coverage detected