async Task <TSession> IInternalCluster.ConnectAsync <TSession>(ISessionFactory <TSession> sessionFactory, string keyspace) { await Init().ConfigureAwait(false); var session = await sessionFactory.CreateSessionAsync(keyspace, _serializer).ConfigureAwait(false); await session.Init().ConfigureAwait(false); _connectedSessions.Add(session); Cluster.Logger.Info("Session connected ({0})", session.GetHashCode()); return(session); }