MCPcopy
hub / github.com/monkeytypegame/monkeytype / insertLocalResult

Function insertLocalResult

frontend/src/ts/collections/results.ts:400–409  ·  view source on GitHub ↗
(
  params: ActionType["insertLocalResult"],
)

Source from the content-addressed store, hash-verified

398}
399
400export async function insertLocalResult(
401 params: ActionType["insertLocalResult"],
402): Promise<void> {
403 if (!resultsCollection.isReady()) {
404 //not loaded yet, don't need to insert
405 return;
406 }
407 const transaction = actions.insertLocalResult(params);
408 await transaction.isPersisted.promise;
409}
410
411export async function deleteLocalTag(
412 params: ActionType["deleteLocalTag"],

Callers 1

saveLocalResultFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected