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
Adding a new_with(init: T) would be an option. Though when I use the Watch, I rarely experience that it makes sense to give them a value at compile-time. In your code, I would assume some task gets the responsibility of updating these clock watches at runtime. And if the value is not set and does not get updated, it is a good indicator that the responsible task is not alive. Do you have a another example of when this could be useful?
It would be nice to be able to supply default values for the new watch module.
https://docs.embassy.dev/embassy-sync/git/default/watch/index.html
Currently I have something like this to setup default:
It could be much neater if we could simply include the default in the new:
The text was updated successfully, but these errors were encountered: