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

Function closeDevToolsClientAsync

packages/expo-sqlite/src/SQLiteDevToolsClient.ts:83–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 * Exposed for testing purposes.
82 */
83export async function closeDevToolsClientAsync(): Promise<void> {
84 await client?.closeAsync();
85 client = null;
86 registeredDatabases.clear();
87}
88
89function setupDevToolsListeners(): void {
90 client?.addMessageListener('listDatabases', async (params: { requestId: string }) => {

Calls 2

clearMethod · 0.65
closeAsyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…