Open tbuschto opened 4 years ago
It's just about convinience.
I want tabris objects to provide events as observables, like
widget.onFooChanged.subscribe(...)
and support RxJS operators like
widget.onFooChanged.pipe(...)
.
I also would like to allow setting ovservables and promises directly on properties, roughly like this:
FooWidget({prop: {async: promiseOrObservables}})
If you have other ideas I'd like to hear them.
for now i think that your ideas is enough, if i've any other idea i will let you know.
In 3.7 an Observable implementation is provided and used by the event system. The issue will not be closed yet since we also want to be able to consume observables.
can you explain this please? because right now i use observables from rxjs with no problem. Do you want to natively add it to tabris.js?