Function
recordKey
({key}: FieldContext<unknown, PathKind.Child>)
Source from the content-addressed store, hash-verified
| 67 | it('key', () => { |
| 68 | const keys: string[] = []; |
| 69 | const recordKey = ({key}: FieldContext<unknown, PathKind.Child>) => { |
| 70 | try { |
| 71 | keys.push(key()); |
| 72 | } catch (e) { |
| 73 | keys.push((e as Error).message); |
| 74 | } |
| 75 | return undefined; |
| 76 | }; |
| 77 | const cat = signal({name: 'pirojok-the-cat', age: 5}); |
| 78 | const f = form( |
| 79 | cat, |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…