JSB - Add support for async methods to return classes

Structs and classes can now be returned from an async method
Properties and fields are supported now. The returned class/struct is readonly effectively, no updates will be sent to the bound object.

Just to clarify this is only for objects bound using RegisterAsyncJsObject
This commit is contained in:
amaitland
2018-01-08 15:12:52 +10:00
committed by amaitland
parent 4b78966171
commit afa3998e65
6 changed files with 67 additions and 16 deletions
+2
View File
@@ -82,6 +82,8 @@
<Compile Include="Filters\PassThruResponseFilter.cs" />
<Compile Include="Handlers\BrowserProcessHandler.cs" />
<Compile Include="InMemorySchemeAndResourceHandlerFactory.cs" />
<Compile Include="JsSerializableClass.cs" />
<Compile Include="JsSerializableStruct.cs" />
<Compile Include="ModelBinding\MethodInterceptorLogger.cs" />
<Compile Include="RequestEventHandler\EventArgs\BaseRequestEventArgs.cs" />
<Compile Include="RequestEventHandler\EventArgs\GetAuthCredentialsEventArgs.cs" />