Skip to content

2.2.0

Compare
Choose a tag to compare
@vadymmarkov vadymmarkov released this 14 Apr 11:42
· 88 commits to master since this release

Improvements by @mallexxx #13

  • Made when([Promise]) -> Promise function public
  • Made the Promise.state property public readable
  • Added Promise{ resolve, reject in ... } init syntax, used in other Promise libraries and missing here
  • Running Promise init block code on the queue provided in the init(queue:) argument, it seems incorrect to run the Promise block synchronously on the same queue it was created