deno.land / x / replicache@v10.0.0-beta.0 / btree / changed-keys.ts

changed-keys.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
import type {BTreeRead} from './read';
export async function changedKeys( oldMap: BTreeRead, newMap: BTreeRead,): Promise<string[]> { const res: string[] = []; for await (const diffRes of newMap.diff(oldMap)) { res.push(diffRes.key); } return res;}
replicache

Version Info

Tagged at
2 years ago