frintjs/frint

Proposal: Check availability of multiple Apps

Open

#425 opened on 2018年7月7日

GitHub で見る
 (1 comment) (1 reaction) (0 assignees)JavaScript (37 forks)batch import
help wantedproposal

Repository metrics

Stars
 (746 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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
  });

コントリビューターガイド