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
const data = dotnetify.$dispatch({ Hello: "world" });
Data is obviously undefined, could there be a version of $dispatch that returns a promise with the result?
Use case is obviously being able to display loading indicators when fetching information and/or fetching data that does not belong in the usual state of the view model eg. Login with simply a boolean for result.
Thoughts?
The text was updated successfully, but these errors were encountered:
Consider the following method:
And then calling it using dispatch
Data is obviously undefined, could there be a version of $dispatch that returns a promise with the result?
Use case is obviously being able to display loading indicators when fetching information and/or fetching data that does not belong in the usual state of the view model eg. Login with simply a boolean for result.
Thoughts?
The text was updated successfully, but these errors were encountered: