Which Promise-module comes with Atom (EC6)?


#1

I’m trying to rely on the upcoming API-changes (2.x) for asynchronous calls, the documentation already references already to these changes (Atom API - Project):

This method will be removed in 2.0 because it does synchronous I/O. Prefer the following, which evaluates to a Promise that resolves to an Array of Repository objects:
Promise.all(atom.project.getDirectories().map( atom.project.repositoryForDirectory.bind(atom.project)))

The Article also links to a Promise-Documentation-Article, unfortunately it does not exist.

My questions are, is a Promise-Library included with Atom? If so, which one is it (probably just the EC6-implementation)?


#2

It seems like Atom relies on ECMAScript 6-Promises: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Promise

My question is therefore solved/lapsed.