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

Function annotateMerge

packages/effect/src/unstable/workflow/Workflow.ts:332–342  ·  view source on GitHub ↗
(this: AnyWithProps, context: Context.Context<any>)

Source from the content-addressed store, hash-verified

330 })
331 },
332 annotateMerge(this: AnyWithProps, context: Context.Context<any>) {
333 return makeProto({
334 _tag: this._tag,
335 payloadSchema: this.payloadSchema,
336 successSchema: this.successSchema,
337 errorSchema: this.errorSchema,
338 annotations: Context.merge(this.annotations, context),
339 idempotencyKey: this.idempotencyKey,
340 suspendedRetrySchedule: this.suspendedRetrySchedule
341 })
342 },
343 execute<const Discard extends boolean = false>(
344 this: AnyWithProps,
345 fields: any,

Callers

nothing calls this directly

Calls 2

mergeMethod · 0.80
makeProtoFunction · 0.70

Tested by

no test coverage detected