MCPcopy Index your code
hub / github.com/Effect-TS/effect / annotate

Function annotate

packages/workflow/src/Workflow.ts:289–294  ·  view source on GitHub ↗
(tag, value)

Source from the content-addressed store, hash-verified

287 errorSchema: options.error ?? Schema.Never as any,
288 annotations: options.annotations ?? Context.empty(),
289 annotate(tag, value) {
290 return make({
291 ...options,
292 annotations: Context.add(self.annotations, tag, value)
293 })
294 },
295 annotateContext(context) {
296 return make({
297 ...options,

Callers

nothing calls this directly

Calls 2

makeFunction · 0.70
addMethod · 0.65

Tested by

no test coverage detected