👋 — what’s the “correct” way to retrieve a JWT saved in a Proto DataStore in an API client? I have a DataSource which wraps the Flow from DataStore, but it’s not obvious how I can get the “latest token” from the flow —
last
on the flow blocks the app, and
collectLatest
gives me a closure not a return value, so I’m a little confused on what I do 😵💫 😵
Luke Carpenter
10/27/2023, 10:00 AM
Here’s the options I have so far — any guidance you can provide would be very very helpful! 🙇