@quenty/promise 6.6.0 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [6.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/promise@6.6.0...@quenty/promise@6.7.0) (2023-07-28)
7
+
8
+ **Note:** Version bump only for package @quenty/promise
9
+
10
+
11
+
12
+
13
+
6
14
  # [6.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/promise@6.5.0...@quenty/promise@6.6.0) (2023-06-17)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/promise",
3
- "version": "6.6.0",
3
+ "version": "6.7.0",
4
4
  "description": "Promise implementation for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "dc77d6de09e9eb9d3fd6dafd790c052d8393d38f"
35
+ "gitHead": "539b6bcf1266fb18e143059d08381654cca200bd"
36
36
  }
@@ -32,6 +32,12 @@ function PromiseUtils.any(promises)
32
32
  return returnPromise
33
33
  end
34
34
 
35
+ function PromiseUtils.delayed(seconds)
36
+ return Promise.spawn(function(resolve, _reject)
37
+ task.delay(seconds, resolve)
38
+ end)
39
+ end
40
+
35
41
  --[=[
36
42
  Executes all promises. If any fails, the result will be rejected. However, it yields until
37
43
  every promise is complete.