IAppCreateConnectionAsyncT Method (Connection, FuncResponse, T, AsyncHandle) |
Creates a connection. A connection indicates from which data source, the data should be taken.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax Task<T> CreateConnectionAsync<T>(
Connection connection,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Function CreateConnectionAsync(Of T) (
connection As Connection,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- connection
- Type: Qlik.EngineConnection
Information about the connection.
This parameter is mandatory. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTSee Also