You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, we do not support providing generator functions as a callback to startSpan or startSpanManual.
This is fundamentally a bit tricky, first because it is a bit tricky (but probably possible?) to detect if a generator function has been provided as a callback. But more fundamentally, when using this in node, execution context handling will not work as expected inside of the generator function (which is a known node issue).
Still it's not unreasonable to want to use something like this:
We should find some way to support this, either inside of startSpan or through a dedicated helper like startSpanGenerator (naming is hard, but you get the point...).
The text was updated successfully, but these errors were encountered:
Today, we do not support providing generator functions as a callback to
startSpan
orstartSpanManual
.This is fundamentally a bit tricky, first because it is a bit tricky (but probably possible?) to detect if a generator function has been provided as a callback. But more fundamentally, when using this in node, execution context handling will not work as expected inside of the generator function (which is a known node issue).
Still it's not unreasonable to want to use something like this:
We should find some way to support this, either inside of
startSpan
or through a dedicated helper likestartSpanGenerator
(naming is hard, but you get the point...).The text was updated successfully, but these errors were encountered: