Skip to content

Releases: Alusus/Promises

0.1.3

Choose a tag to compare

@sarmadka sarmadka released this 07 Jul 00:35
65b5a7c

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

Choose a tag to compare

@sarmadka sarmadka released this 19 Jun 07:49
52f9c45

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

0.1.1

Choose a tag to compare

@sarmadka sarmadka released this 23 May 02:40
b9c83f5

Support for recursive promises.

Added the retry operation for allowing recursive promises.

0.1.0

Choose a tag to compare

@sarmadka sarmadka released this 02 May 07:01
32d81c2
  • 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

Choose a tag to compare

@sarmadka sarmadka released this 23 Aug 07:19
fbaff46

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

Choose a tag to compare

@sarmadka sarmadka released this 01 Jun 01:51
4b9a37f

Initial release. Includes support for:

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