Hi Folks π
Iβm working on a Tap where I have two streams present, A & B, where A is pulling data from source API and putting it into an array and eventually stream B would hit another API by based on the array built from stream A.
So is there a way to share that array between both the streams such that I can essentially share data between two streams?
@ananya Ditto the comment from @visch. π Sounds like a good case for parent-child streams with the get_child_context() of the parent defining how/what each child would need to get its extraction done. Hope this helps!
a
ananya
07/19/2022, 10:16 AM
thank you @derek_harley and @aaronsteers!
I could access a single value generated in stream A into the stream B. Now, a follow up question to this, I have an array of IDs that requires to be iterated over to make a GET request for each item in the array; is there a way to make this happen within the stream?
v
visch
07/19/2022, 11:44 AM
Please share code! What have you tried so far?
a
ananya
07/21/2022, 5:56 AM
Ahhh..sorry my bad!!πββοΈ
Itβs working perfectly fine with my scenario.
Thanks again you both! π simple smile