| 85 | } |
| 86 | |
| 87 | static JSValueRef toJSIndex(JSFunctionNativeCallContext& callContext, size_t index) { |
| 88 | return callContext.getContext().newNumber(static_cast<int32_t>(index)); |
| 89 | } |
| 90 | |
| 91 | static void notifyAsyncCallbackError(const Ref<ValueFunction>& callback, const Error& error) { |
| 92 | (*callback)({ |
no test coverage detected