MCPcopy Create free account
hub / github.com/Effect-TS/effect / patch

Method patch

packages/effect/src/ui/Query.ts:327–327  ·  view source on GitHub ↗

* An optimistic patch of one entry, applied over its server value while the * run that declares it is queued or running. It implies invalidation of * the entry.

(
    args: Args["Type"],
    f: (value: Success["Type"]) => Success["Type"]
  )

Source from the content-addressed store, hash-verified

325 * the entry.
326 */
327 patch(
328 args: Args["Type"],
329 f: (value: Success["Type"]) => Success["Type"]
330 ): Patch<Query<Args["Type"], Success["Type"], Error["Type"]>>

Callers 3

handlerFunction · 0.65
applyPatchFunction · 0.65
patchFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected