Click or drag to resize

RuntimeClientAwaitPromiseAsync Method

Version 86.0.240
Add handler to promise with given promise object id.

Namespace:  CefSharp.DevTools.Runtime
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public Task<AwaitPromiseResponse> AwaitPromiseAsync(
	string promiseObjectId,
	Nullable<bool> returnByValue = null,
	Nullable<bool> generatePreview = null
)

Parameters

promiseObjectId
Type: SystemString
Identifier of the promise.
returnByValue (Optional)
Type: SystemNullableBoolean
Whether the result is expected to be a JSON object that should be sent by value.
generatePreview (Optional)
Type: SystemNullableBoolean
Whether preview should be generated for the result.

Return Value

Type: TaskAwaitPromiseResponse
returns System.Threading.Tasks.Task<AwaitPromiseResponse>
See Also