connectWithTimeout method
Establishes a connection with a login timeout.
timeoutMs is the login timeout in milliseconds (0 = driver default).
Returns a connection ID on success, 0 on failure.
Implementation
int connectWithTimeout(String connectionString, int timeoutMs) {
if (!_isInitialized) {
throw StateError('Environment not initialized');
}
return _native.connectWithTimeout(connectionString, timeoutMs);
}