Skip to content

Releases: Alusus/Promises

0.1.3

07 Jul 00:35
65b5a7c

Choose a tag to compare

Fix potential memory access violation.

Fix memory access violation when the promise is resolved and released from memory before the callback of then or catch promise has finished executing.

0.1.2

19 Jun 07:49
52f9c45

Choose a tag to compare

Removed built-in error types in favor of Srl error types.

0.1.1

23 May 02:40
b9c83f5

Choose a tag to compare

Support for recursive promises.

Added the retry operation for allowing recursive promises.

0.1.0

02 May 07:01
32d81c2

Choose a tag to compare

  • Enabled resolving a promise using another promise which will make the resolved promise wait for the provided promise to be resolved and then use its result.
  • Capture unresolved promises using a SrdRef linked list so that its callbacks are triggered even if the user use then without capturing the resulting SrdRef.
  • Some code refactoring.
  • Added documentation.

0.0.2

23 Aug 07:19
fbaff46

Choose a tag to compare

Bug fix in Promise.all.

Bug fix for the case of calling Promise.all with promises that are all already resolved, in which cases the created container promise does not get resolved, which is incorrect. The new behavior is that the created promise is created in a resolved state if all supplied promises are already resolved.

0.0.1

01 Jun 01:51
4b9a37f

Choose a tag to compare

Initial release. Includes support for:

  • Basic promises.
  • .then
  • .catch
  • Promise.all
  • Arabic localization.