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

Proposal: Check availability of multiple Apps #425

Open
fahad19 opened this issue Jul 7, 2018 · 1 comment
Open

Proposal: Check availability of multiple Apps #425

fahad19 opened this issue Jul 7, 2018 · 1 comment

Comments

@fahad19
Copy link
Member

fahad19 commented Jul 7, 2018

Currently

We can trigger something as soon as our desired App is available, via this API:

rootApp.getAppOnceAvailable$('SomeAppName')
  .subscribe(someApp => console.log(someApp));

Proposal

It would be handy if we can check the availability of multiple apps together:

rootApp.getAppOnceAvailable$(['SomeApp', 'AnotherApp'])
  .subscribe(function (someApp, anotherApp) {
    // fires once, when both `SomeApp` and `AnotherApp` are available
  });
@fahad19
Copy link
Member Author

fahad19 commented Jul 7, 2018

/cc @rbardini, @leandrooriente

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

No branches or pull requests

1 participant