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

Function write

packages/effect/src/ui/Query.ts:2883–2890  ·  view source on GitHub ↗
(query: Query.Any, args: unknown, value: unknown)

Source from the content-addressed store, hash-verified

2881})
2882
2883const write = (query: Query.Any, args: unknown, value: unknown): Write =>
2884 ({
2885 _tag: "Set",
2886 query,
2887 args,
2888 value,
2889 [ArgsKey]: defOf(query).argsKey(args)
2890 }) as Write
2891
2892/**
2893 * A run's declarations compiled for matching: the queries it names whole, the

Callers 5

setMethod · 0.70
prepareWriteFunction · 0.50
writeFieldFunction · 0.50
prepareValueWriteFunction · 0.50
writePackedValuesFunction · 0.50

Calls 1

defOfFunction · 0.85

Tested by

no test coverage detected