Support Observable.from(array_of_primitives)
See original GitHub issueIt seems that it is currently impossible to create an Observable
from an array of primitives, e.g.:
char[] chars = "some string".toCharArray();
Observable.from(chars); //does not compile
Is this a conscious decision?
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
How to create Observable from Array? - java - Stack Overflow
Essentially Observable.fromArray(arr) works the same as Observable.just(arr) , why is that (I wanna get 1, 2, 3 ...
Read more >ObservableArray (JavaFX 8) - Oracle Help Center
ObservableArray is an array that allows listeners to track changes when ... You can find them in subclasses as they deal with primitive...
Read more >Creating observable state - MobX
Properties, entire objects, arrays, Maps and Sets can all be made observable. The basics of making objects observable is specifying an annotation per ......
Read more >Observables · MobX Guide - mamaya-spark
Observables can be JS primitives, references, plain objects, class instances, arrays and maps. observable(value) is a convenience overload, ...
Read more >How to use the mobx.observable.array function in mobx - Snyk
To help you get started, we've selected a few mobx.observable.array examples, ... js/mobx primitive objects store[key] = dataValue; } else if (!storeValue) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another way to do it:
Observable.fromArray("string".split("")).map(s -> s.charAt(0)).subscribe(...)