(context)
| 7364 | return new _JsCommand(jsBody.jsSource, func, inputs); |
| 7365 | } |
| 7366 | resolve(context) { |
| 7367 | var args = this.inputs.map((input) => context.meta.runtime.resolveSymbol(input, context, "local")); |
| 7368 | var result = this.function.apply(context.meta.runtime.globalScope, args); |
| 7369 | if (result && typeof result.then === "function") { |
| 7370 | return result.then((actualResult) => { |
| 7371 | context.result = actualResult; |
| 7372 | return this.findNext(context); |
| 7373 | }); |
| 7374 | } else { |
| 7375 | context.result = result; |
| 7376 | return this.findNext(context); |
| 7377 | } |
| 7378 | } |
| 7379 | }; |
| 7380 | var GetCommand = class _GetCommand extends Command { |
| 7381 | static keyword = ["get", "call"]; |
nothing calls this directly
no test coverage detected