Hello! Thank you very much for your amazing project. 😊
In our environment however we're using suspend to run a mix of different tasks (db queries, file reads) in parallel. For that sake it is helpful for us to associate some data with the task so that later we can access the context in which result was obtained.
I hope this function has a chance to make it to the upstream. I would be very glad to hear your opinion about the matter. Maybe we could create a new method like forkContext() or forkData() to make the change as robust as possible in respect to backward compatibility.
Thank you and have a good day!
Hello! Thank you very much for your amazing project. 😊 In our environment however we're using
suspend
to run a mix of different tasks (db queries, file reads) in parallel. For that sake it is helpful for us to associate some data with the task so that later we can access the context in which result was obtained.Here's our proposal:
I hope this function has a chance to make it to the upstream. I would be very glad to hear your opinion about the matter. Maybe we could create a new method like
forkContext()
orforkData()
to make the change as robust as possible in respect to backward compatibility. Thank you and have a good day!