Replies: 10 comments 1 reply
-
Is idle before the execution is called? Or would it be a separate Boolean on the AsyncState object? |
Beta Was this translation helpful? Give feedback.
-
Or would it be a new state? |
Beta Was this translation helpful? Give feedback.
-
To clarify it is a state used in conjonction with UI. When used for UI you have a default state to return after loading/error/data I'm interested to see how preact and others model this case but I've a direct need for it. |
Beta Was this translation helpful? Give feedback.
-
Could you provide some puedo code? |
Beta Was this translation helpful? Give feedback.
-
Yeah, I feel this feature would be really handy. For reference: |
Beta Was this translation helpful? Give feedback.
-
@r0hit-gupta |
Beta Was this translation helpful? Give feedback.
-
@jinyus would it be possible to pass in a custom parameter? Maybe something like |
Beta Was this translation helpful? Give feedback.
-
@r0hit-gupta Yes, it's called Here's an example: https://github.com/jinyus/dart_beacon/tree/main/examples/flutter_main/lib/search |
Beta Was this translation helpful? Give feedback.
-
This ticket is still open and we've no clear ground on it.
Can we move this to a discussion and challenge the best implementations to solve the UI fields case? |
Beta Was this translation helpful? Give feedback.
-
Works for me! If you also want to make a PR happy to review too |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use AsyncSignal to display some computation and manage the status as exposed for users.
Being not only internal I would make a common use of an
idle
state. Feedback?Beta Was this translation helpful? Give feedback.
All reactions