Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reason for using observables #110

Open
saikiriti11 opened this issue Apr 23, 2018 · 1 comment
Open

Reason for using observables #110

saikiriti11 opened this issue Apr 23, 2018 · 1 comment

Comments

@saikiriti11
Copy link

Hi,

  1. I would like to know why observables are being used in asynchronous way for finding the device
    information instead of returning the respective information synchronously without the need to
    subscribe to observable.

  2. Is there any way where the provided services have methods which return boolean values for
    finding device information which can be used in java script.
    For example, I want isMobile() in the service which returns a boolean value just like *isMobile directive.

@no-more
Copy link
Collaborator

no-more commented Dec 4, 2018

Hello,

1 - Not sure but maybe just to make uniform all the code with observable.
2 - Don't know sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants