콘텐츠로 이동
한국어

createCassandraClient

이 콘텐츠는 아직 번역되지 않았습니다.

createCassandraClient(conn): Promise<CassandraClientLike>

Defined in: src/persistence/journals/CassandraClient.ts:103

Dynamically import the official DataStax driver and construct a client. Kept behind await so the import only happens when the user actually creates a Cassandra journal. If the user constructs their own client elsewhere they can bypass this entirely.

CassandraConnection

Promise<CassandraClientLike>