Creating an Observable from a store.
Is there a way I can create an observable from a store?
Essentially, what I want to do this:
Or, something like that at least.
This fails because the
observable()
function accepts an Accessor, which pretty much is only signals. Is there a way I can make it work with stores as well?2 Replies
you might be able to just do
() => tokens
Hmm. Let me try.
Okay. That works. Guess it’s gonna be the same if the source is a Resource and other such things. Thank you.