File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -188,19 +188,6 @@ export function maybeTracePromise<T>(
188188 * Publish a mixed sync-or-promise operation through the named graphql tracing
189189 * channel.
190190 *
191- * Mirrors Node's own `TracingChannel.tracePromise` for the async branch while
192- * handling sync returns without the cost of a promise wrap. The entire
193- * lifecycle runs inside `start.runStores`, which is what lets subscribers
194- * that call `channel.start.bindStore(als, ...)` read that store in every
195- * sub-channel handler: promise continuations attached inside a `runStores`
196- * block inherit the AsyncLocalStorage context via async_hooks, so
197- * `asyncStart` and `asyncEnd` fire with the same store active as `start`
198- * and `end`.
199- *
200- * Subscribers can inspect `isPromise(ctx.result)` inside their `end` handler
201- * to know whether `asyncEnd` will follow or the operation is complete. This
202- * matches Node's convention.
203- *
204191 * @internal
205192 */
206193export function maybeTraceMixed < T > (
You can’t perform that action at this time.
0 commit comments