MCPcopy
hub / github.com/srcbookdev/srcbook / stopCell

Function stopCell

packages/web/src/components/cells/code.tsx:298–303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

296 }
297
298 function stopCell() {
299 if (!channel) {
300 return;
301 }
302 channel.push('cell:stop', { cellId: cell.id });
303 }
304
305 function onRevertDiff() {
306 setCellMode(generationType === 'edit' ? 'prompting' : 'off');

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected