Click or drag to resize
IHubGetInteractAsync Method (AsyncHandle, Int32)

Retrieves information on the user interaction that is requested by the engine.

Engine can request user interactions only during script reload and when the reload is performed in debug mode (qDebug is set to true when using the DoReload method).

When running reload in debug mode, the engine pauses the script execution to receive data about user interaction. The engine can pause:

- before executing a new script statement

- when an error occurs while executing the script

- when the script execution is finished.

To know if the engine is paused and waits for a response to an interaction request, the GetProgress method should be used. The engine waits for a response if the property qUserInteractionWanted is set to true in the response of the GetProgress request.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
Task<GetInteractResult> GetInteractAsync(
	AsyncHandle asyncHandle,
	int requestId
)

Parameters

asyncHandle
Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request
requestId
Type: SystemInt32
Identifier of the request. Corresponds to the identifier of the DoReload request.

Return Value

Type: TaskGetInteractResult
See Also