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
+11
View File
@@ -0,0 +1,11 @@
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.Example
{
public struct JsSerializableStruct
{
public string Value;
}
}