(context)
| 6969 | return new _JsCommand(jsBody.jsSource, func, inputs); |
| 6970 | } |
| 6971 | resolve(context) { |
| 6972 | var args = this.inputs.map((input) => context.meta.runtime.resolveSymbol(input, context, "default")); |
| 6973 | var result = this.function.apply(context.meta.runtime.globalScope, args); |
| 6974 | if (result && typeof result.then === "function") { |
| 6975 | return result.then((actualResult) => { |
| 6976 | context.result = actualResult; |
| 6977 | return this.findNext(context); |
| 6978 | }); |
| 6979 | } else { |
| 6980 | context.result = result; |
| 6981 | return this.findNext(context); |
| 6982 | } |
| 6983 | } |
| 6984 | }; |
| 6985 | var GetCommand = class _GetCommand extends Command { |
| 6986 | static keyword = ["get", "call"]; |
nothing calls this directly
no test coverage detected