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
Promises have a .status.status field that can be set to either Available or Unavailable. We should think about renaming/refactor this field because status.status reads redundant and a bit awkward
status implies that there could be multiple state rather than Available or Unavailable. If all we want to express is if this promise is available or not, this can be better expressed as a bool, e.g. .status.available or .status.ready
The text was updated successfully, but these errors were encountered:
Promises have a
.status.status
field that can be set to eitherAvailable
orUnavailable
. We should think about renaming/refactor this field becausestatus.status
reads redundant and a bit awkwardstatus
implies that there could be multiple state rather thanAvailable
orUnavailable
. If all we want to express is if this promise is available or not, this can be better expressed as a bool, e.g..status.available
or.status.ready
The text was updated successfully, but these errors were encountered: