RuntimeClientAwaitPromiseAsync Method  | 
Version 108.4.130 
            Add handler to promise with given promise object id.
            
 
    Namespace: 
   CefSharp.DevTools.Runtime
    Assembly:
   CefSharp (in CefSharp.dll) Version: 108.4.130.0 (108.4.130.0)
Syntaxpublic 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
 - 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: 
TaskAwaitPromiseResponsereturns System.Threading.Tasks.Task<AwaitPromiseResponse>
See Also