It's equivalent in that case but will share a common interface with all your data structures.
@bfalkner can you give examples of observables being a better abstraction for single values? Other than cancellation?
-
-
-
not quite. Promises are async, guarantee one value over the lifetime (can't get called twice), ergonomic collapse of complete.
-
you think we should give up on single values and just use single element arrays?
-
certainly not. I'm not sure right now why I tend not to need them. I'll look at some code and see what's serving that need.
-
phew. Occasionally when I ask that question to Observable fans they say yes.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.