@quenty/streamingutils 10.10.0 → 10.10.1
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 +8 -0
- package/package.json +3 -3
- package/src/Shared/StreamingUtils.lua +3 -3
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
|
+
## [10.10.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/streamingutils@10.10.0...@quenty/streamingutils@10.10.1) (2025-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/streamingutils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [10.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/streamingutils@10.9.0...@quenty/streamingutils@10.10.0) (2025-02-18)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/streamingutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/streamingutils",
|
|
3
|
-
"version": "10.10.
|
|
3
|
+
"version": "10.10.1",
|
|
4
4
|
"description": "Provides utilities for working with Roblox's streaming system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@quenty/loader": "^10.8.0",
|
|
30
|
-
"@quenty/promise": "^10.10.
|
|
30
|
+
"@quenty/promise": "^10.10.1"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "6b7c3e15e60cdb185986207b574e2b5591261e7a"
|
|
36
36
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
--!strict
|
|
1
2
|
--[=[
|
|
2
3
|
Provides utilities for working with Roblox's streaming system
|
|
3
4
|
@class StreamingUtils
|
|
@@ -34,7 +35,7 @@ local StreamingUtils = {}
|
|
|
34
35
|
@param timeOut number? -- Optional
|
|
35
36
|
@return Promise
|
|
36
37
|
]=]
|
|
37
|
-
function StreamingUtils.promiseStreamAround(player, position, timeOut)
|
|
38
|
+
function StreamingUtils.promiseStreamAround(player: Player, position: Vector3, timeOut: number?)
|
|
38
39
|
assert(typeof(player) == "Instance", "Bad player")
|
|
39
40
|
assert(typeof(position) == "Vector3", "Bad position")
|
|
40
41
|
assert(type(timeOut) == "number" or timeOut == nil, "Bad timeOut")
|
|
@@ -45,7 +46,6 @@ function StreamingUtils.promiseStreamAround(player, position, timeOut)
|
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
return Promise.spawn(function(resolve, reject)
|
|
48
|
-
|
|
49
49
|
local ok, err = pcall(function()
|
|
50
50
|
player:RequestStreamAroundAsync(position, timeOut)
|
|
51
51
|
end)
|
|
@@ -58,4 +58,4 @@ function StreamingUtils.promiseStreamAround(player, position, timeOut)
|
|
|
58
58
|
end)
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
return StreamingUtils
|
|
61
|
+
return StreamingUtils
|