| 319 | const Proto = { |
| 320 | [TypeId]: TypeId, |
| 321 | annotate(this: AnyWithProps, tag: Context.Key<any, any>, value: any) { |
| 322 | return makeProto({ |
| 323 | _tag: this._tag, |
| 324 | payloadSchema: this.payloadSchema, |
| 325 | successSchema: this.successSchema, |
| 326 | errorSchema: this.errorSchema, |
| 327 | annotations: Context.add(this.annotations, tag, value), |
| 328 | idempotencyKey: this.idempotencyKey, |
| 329 | suspendedRetrySchedule: this.suspendedRetrySchedule |
| 330 | }) |
| 331 | }, |
| 332 | annotateMerge(this: AnyWithProps, context: Context.Context<any>) { |
| 333 | return makeProto({ |
| 334 | _tag: this._tag, |