Effect CommunityEC
Effect Community2y ago
8 replies
jessekelly

Adding a result to useRxSetPromise for automatic watching

Would it make sense to add a result to the return of useRxSetPromise? I'm trying to watch the .waiting state to show a loading indicator and currently I have to use another var to watch the async state. I.e. const [result, setAsync] = useRxSetPromise()
Was this page helpful?