Skip to content
Source
Sign inSign up
pingdotgg/t3code

perf(mobile): speed up multi-environment reconnect on foreground #4885

Closedt3dotgg(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromt3code/speed-up-mobile-reconnectopened View on GitHub

Showing 9 changed files with 17 additions and 34 deletions (loading 7).

x
0 of 9 viewed, 9 left
1 addition and 1 deletionapps/mobile/src/connection/catalog-store.tsModified
View file
@@ -41,7 +41,7 @@
);
});
​
-interface CatalogStore {
+export interface CatalogStore {
readonly read: Effect.Effect<ConnectionCatalogDocumentType, ConnectionTransientError>;
readonly update: (
transform: (catalog: ConnectionCatalogDocumentType) => ConnectionCatalogDocumentType,
16 additions and 33 deletionsapps/mobile/src/connection/storage.tsModified
View file
@@ -9,7 +9,7 @@
} from "@t3tools/client-runtime/platform";
import { TokenStore } from "@t3tools/client-runtime/authorization";
import {
- ConnectionTransientError,
+ type ConnectionAttemptError,
CredentialStore,
ProfileStore,
} from "@t3tools/client-runtime/connection";
@@ -18,10 +18,11 @@
import * as Layer from "effect/Layer";
import * as Option from "effect/Option";
import * as CatalogStore from "./catalog-store";
+import * as RemoteDpopTokenStore from "./token-store";
​
function targetPersistenceError(