frintjs/frint

Proposal: Check availability of multiple Apps

Open

#425 建立於 2018年7月7日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)JavaScript (37 fork)batch import
help wantedproposal

倉庫指標

Star
 (746 star)
PR 合併指標
 (30 天內沒有已合併 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
  });

貢獻者指南