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

Function annotateMerge

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

Source from the content-addressed store, hash-verified

356 })
357 },
358 annotateMerge(this: AnyWithProps, context: Context.Context<any>) {
359 return makeProto({
360 _tag: this._tag,
361 payloadSchema: this.payloadSchema,
362 successSchema: this.successSchema,
363 errorSchema: this.errorSchema,
364 annotations: Context.merge(this.annotations, context),
365 idempotencyKey: this.idempotencyKey,
366 suspendedRetrySchedule: this.suspendedRetrySchedule
367 })
368 },
369 execute<const Discard extends boolean = false>(
370 this: AnyWithProps,
371 fields: any,

Callers

nothing calls this directly

Calls 2

makeProtoFunction · 0.70
mergeMethod · 0.65

Tested by

no test coverage detected