MCPcopy Create free account
hub / github.com/expo/expo / createSessionAsync

Method createSessionAsync

packages/expo-sqlite/web/SQLiteModule.ts:131–137  ·  view source on GitHub ↗
(nativeSession: NativeSession, dbName: string)

Source from the content-addressed store, hash-verified

129 });
130 }
131 async createSessionAsync(nativeSession: NativeSession, dbName: string): Promise<void> {
132 await invokeWorkerAsync(getWorker(), 'sessionCreate', {
133 nativeDatabaseId: this.id,
134 nativeSessionId: nativeSession.id,
135 dbName,
136 });
137 }
138 createSessionSync(nativeSession: NativeSession, dbName: string): void {
139 invokeWorkerSync(getWorker(), 'sessionCreate', {
140 nativeDatabaseId: this.id,

Callers 1

newSessionAsyncFunction · 0.45

Calls 2

invokeWorkerAsyncFunction · 0.90
getWorkerFunction · 0.85

Tested by

no test coverage detected