MCPcopy Index your code
hub / github.com/tinyplex/tinybase / onRemoteRowId

Function onRemoteRowId

src/ui-svelte/functions.svelte.ts:1350–1361  ·  view source on GitHub ↗
(
  relationshipId: MaybeGetter<IdOrNull>,
  localRowId: MaybeGetter<IdOrNull>,
  listener: RemoteRowIdListener,
  relationshipsOrRelationshipsId?: MaybeGetter<Relationships | Id | undefined>,
)

Source from the content-addressed store, hash-verified

1348 );
1349
1350export const onRemoteRowId = (
1351 relationshipId: MaybeGetter<IdOrNull>,
1352 localRowId: MaybeGetter<IdOrNull>,
1353 listener: RemoteRowIdListener,
1354 relationshipsOrRelationshipsId?: MaybeGetter<Relationships | Id | undefined>,
1355): void =>
1356 addListenerEffect(
1357 resolveRelationships(relationshipsOrRelationshipsId),
1358 REMOTE_ROW_ID,
1359 listener,
1360 () => [maybeGet(relationshipId), maybeGet(localRowId)],
1361 );
1362
1363export const onLocalRowIds = (
1364 relationshipId: MaybeGetter<IdOrNull>,

Callers 1

RelationshipsFunction · 0.50

Calls 3

addListenerEffectFunction · 0.70
resolveRelationshipsFunction · 0.70
maybeGetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…