RuntimeClientAwaitPromiseAsync Method |
Version 130.1.90
Add handler to promise with given promise object id.
Namespace: CefSharp.DevTools.RuntimeAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<AwaitPromiseResponse> AwaitPromiseAsync(
string promiseObjectId,
bool? returnByValue = null,
bool? generatePreview = null
)
public:
Task<AwaitPromiseResponse^>^ AwaitPromiseAsync(
String^ promiseObjectId,
Nullable<bool> returnByValue = nullptr,
Nullable<bool> generatePreview = nullptr
)
Parameters
- promiseObjectId String
- Identifier of the promise.
- returnByValue NullableBoolean (Optional)
- Whether the result is expected to be a JSON object that should be sent by value.
- generatePreview NullableBoolean (Optional)
- Whether preview should be generated for the result.
Return Value
TaskAwaitPromiseResponsereturns System.Threading.Tasks.Task<AwaitPromiseResponse>
See Also