Find answers from the community

Updated 2 years ago

I m facing an issue when using callbacks

I'm facing an issue when using callbacks in an async setting. Bascially the outputs are mixed up. I'm not sure if I'm using the callbacks correctly in this case...
Attachment
image.png
j
L
5 comments
should we use a callback manager that is defined outside?
Oh boy, kind of figured that might happen lol
In this case, each run should have its own callback manager tbh
Slightly related but under the hood, I'm sure there is some places where this also happens with async πŸ˜… need a way to send off each task with its own callback manager and then aggregate the traces
yeah the last point you mentioned is interesting. I'll think about this too and share if I get any solutions. if you have any solutions do share too πŸ™‚
Add a reply
Sign up and join the conversation on Discord