Skip to content

can you consider returning observable (reactive programming)?  #878

@xmlking

Description

@xmlking

I am excited to know that you are working on reimplementing Restangular in ES6.
I wonder if you can consider adopting reactive programming i.e., returning an Observable (RxJS)/Reactive Stream when the result is plural, similar to the way it is correctly returning a promise for singular value.
This would be valuable to work with Real-time REST APIs like twitter streams which are delivered as chunked or streaming endpoints.
Here is an example of chunked API demo on plunker

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions