/// <inheritdoc /> protected override void BeginInvokeJS(long asyncHandle, string identifier, string?argsJson, JSCallResultType resultType, long targetInstanceId) { var callInfo = new JSCallInfo { FunctionIdentifier = identifier, TargetInstanceId = targetInstanceId, ResultType = resultType, MarshalledCallArgsJson = argsJson ?? "[]", MarshalledCallAsyncHandle = asyncHandle }; InternalCalls.InvokeJS <object, object, object, string>(out _, ref callInfo, null, null, null); }
public static extern TRes InvokeJS <T0, T1, T2, TRes>(out string exception, ref JSCallInfo callInfo, [AllowNull] T0 arg0, [AllowNull] T1 arg1, [AllowNull] T2 arg2);