(self: { id: string }, mut: any)
| 397 | const _useMutation = makeMutation(atomQueryInvalidator) |
| 398 | |
| 399 | const wrapWithSpan = (self: { id: string }, mut: any) => { |
| 400 | const span = (eff: Effect.Effect<any, any, any>) => |
| 401 | Effect.withSpan(`mutation ${self.id}`, {}, { captureStackTrace: false })(eff) |
| 402 | return (input: any, options?: MutationOptionsBase) => span(mut(input, options)) |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * Pass an Effect or a function that returns an Effect, e.g from a client action |
no test coverage detected
searching dependent graphs…