You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Because services are basically the only way to communicate between Atom packages, it is common that there is expected to be exactly one provider for a given service. As such, it would be convenient if there were a Promise-based API to subscribe to the first provider registered for a service in a given range:
I'm sure as the package ecosystem continues to grow, we'll run into scenarios with multiple providers, so I think it's worth having a story for handling that within your suggested scheme.
Because services are basically the only way to communicate between Atom packages, it is common that there is expected to be exactly one provider for a given service. As such, it would be convenient if there were a Promise-based API to subscribe to the first provider registered for a service in a given range:
If there are multiple providers for
special-build-toolbar
at the timeconsumeOnly
is called, then it could return aPromise
that rejects.The text was updated successfully, but these errors were encountered: