MCPcopy Create free account
hub / github.com/FormidableLabs/use-editable / disconnect

Function disconnect

src/useEditable.ts:340–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338 };
339
340 const disconnect = () => {
341 state.observer.disconnect();
342 state.disconnected = true;
343 };
344
345 const flushChanges = () => {
346 state.queue.push(...state.observer.takeRecords());

Callers 2

flushChangesFunction · 0.85
onKeyDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…