mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user