(resolve: (value: T) => void)
| 120 | // await (inside the tx context) does not trip the wire. |
| 121 | const lazyQuery = { |
| 122 | then<T>(resolve: (value: T) => void) { |
| 123 | resolve(client.unsafe('select 1 as lazy_escaped') as T) |
| 124 | }, |
| 125 | } |
| 126 | await runOutsideTransactionContext(() => lazyQuery) |
| 127 | }) |