Gerhard Stöbich

Results 195 comments of Gerhard Stöbich

@austinlparker Could you please provide some more details from that discussion? I find it a bit unfriendly to expect everyone to act as a friendly neighbor without OTel even trying...

Which context is used at the beginning of the main script? The/An empty context or something else? If it is an empty context it would be also propagated into any...

I don't think that the nesting should matter here. Either the variables are independent or they aren't. Consider `other` and `mine` are context variables created by independent tools using some...

Yes, it's `myVar.get()/myVar.run()`. Main point is if a dedicated API for this should be visible in the `AsyncContext` API surface to avoid that people go for global even if they...

taking a snapshot of a context is not bound to a specific operation/task. It's not the task which is captured its a context. AsyncLocal propagates the context across several operations....

But one can also "capture" the active context by calling `get()`, store it in some local variable and activate it later. This is not that uncommon in case you have...

What is the "overall context mapping"? Maybe I have the wrong understanding of the terms used. `context.run(span, cb)` sets `span` as active and `span` is propagated into any async operation...

Thanks for the clarifications. Really helpful. So a task is some global state which is implict created by an individual instance of `AsyncContext`. While I fully understand that internally a...

if the parent/child relationship is kept and the internal context object is the representation of the task it should work. Not sure how useful it is as a simple `setInterval`...

If it is a call once use case this wrapped callback is no longer referenced afterwards and collected including it's wrapped context. Otherwise there would be a bigger leak, not...