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
thoughts? other options (well, i could filter the stream, but i need that for several values separately. hence too much code repetition to be a good idea)?
Yeah like an async adapter for valueconverters. Essentially it could be as proposed with converter, but this breaks chaining and looks rather clunky right? Ideally we could use personStats | toAsync: isNotZero : otheropts & async: { ... }. In worst case the VC would have to be passed in as a string.
Another alternative would be to register async variants of VCs globally via code with ab alias, like in your sample asyncIsNotZero.
Seems that
personsStats != 0 & async: { property: value}
orpersonsStats & async: { property: value} != 0
orpersonsStats | isNotZero & async: { property: value}
orpersonsStats & async: { property: value} | isNotZero
aren't possible.one way to allow evaluation of the async bound value would be:
personsStats & async: { property: value, converter: isNotZero}
thoughts? other options (well, i could filter the stream, but i need that for several values separately. hence too much code repetition to be a good idea)?
edit: ah, asyncIsNotZero works: eg
something more generic would be nice still
The text was updated successfully, but these errors were encountered: