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
If there's a better place for me to ask questions about the book than here, please let me know. I'm happy to post them elsewhere.
On page 175 you say "If you use the same async sequence in another loop, you will get the data instantly, because it will be cached."
I wonder what happens if the sequence is very long and/or the values it returns are very large. It seems like the app could crash due to running out of memory. I wonder if it only caches the values if there is enough free memory to do so.
I also wonder if it is possible to create an infinite AsyncSequence that never stops returning values ... in which case it definitely couldn't cache all the values.
The text was updated successfully, but these errors were encountered:
If there's a better place for me to ask questions about the book than here, please let me know. I'm happy to post them elsewhere.
On page 175 you say "If you use the same async sequence in another loop, you will get the data instantly, because it will be cached."
I wonder what happens if the sequence is very long and/or the values it returns are very large. It seems like the app could crash due to running out of memory. I wonder if it only caches the values if there is enough free memory to do so.
I also wonder if it is possible to create an infinite AsyncSequence that never stops returning values ... in which case it definitely couldn't cache all the values.
The text was updated successfully, but these errors were encountered: