@quenty/tie 10.25.1 → 10.26.0-canary.10565ea.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,17 @@
|
|
|
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.26.0-canary.10565ea.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.25.1...@quenty/tie@10.26.0-canary.10565ea.0) (2025-11-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add tie interface implementations for signals ([10565ea](https://github.com/Quenty/NevermoreEngine/commit/10565eabfa479c04dde7445c2755ea171d045eb5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [10.25.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.25.0...@quenty/tie@10.25.1) (2025-11-12)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/tie
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/tie",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.26.0-canary.10565ea.0",
|
|
4
4
|
"description": "Tie allows interfaces to be defined between Lua OOP and Roblox objects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,29 +28,29 @@
|
|
|
28
28
|
"Quenty"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/attributeutils": "
|
|
32
|
-
"@quenty/baseobject": "
|
|
33
|
-
"@quenty/brio": "
|
|
34
|
-
"@quenty/collectionserviceutils": "
|
|
35
|
-
"@quenty/instanceutils": "
|
|
36
|
-
"@quenty/loader": "
|
|
37
|
-
"@quenty/maid": "
|
|
38
|
-
"@quenty/rx": "
|
|
39
|
-
"@quenty/rxsignal": "
|
|
40
|
-
"@quenty/statestack": "
|
|
41
|
-
"@quenty/string": "
|
|
42
|
-
"@quenty/symbol": "
|
|
43
|
-
"@quenty/table": "
|
|
44
|
-
"@quenty/tuple": "
|
|
45
|
-
"@quenty/valuebaseutils": "
|
|
46
|
-
"@quenty/valueobject": "
|
|
31
|
+
"@quenty/attributeutils": "14.20.0",
|
|
32
|
+
"@quenty/baseobject": "10.9.0",
|
|
33
|
+
"@quenty/brio": "14.20.0",
|
|
34
|
+
"@quenty/collectionserviceutils": "8.21.0",
|
|
35
|
+
"@quenty/instanceutils": "13.20.1",
|
|
36
|
+
"@quenty/loader": "10.9.0",
|
|
37
|
+
"@quenty/maid": "3.5.0",
|
|
38
|
+
"@quenty/rx": "13.20.0",
|
|
39
|
+
"@quenty/rxsignal": "7.20.0",
|
|
40
|
+
"@quenty/statestack": "14.22.1",
|
|
41
|
+
"@quenty/string": "3.3.3",
|
|
42
|
+
"@quenty/symbol": "3.5.0",
|
|
43
|
+
"@quenty/table": "3.8.0",
|
|
44
|
+
"@quenty/tuple": "1.6.0",
|
|
45
|
+
"@quenty/valuebaseutils": "13.20.1",
|
|
46
|
+
"@quenty/valueobject": "13.21.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@quenty/promise": "
|
|
50
|
-
"@quenty/signal": "
|
|
49
|
+
"@quenty/promise": "10.12.0",
|
|
50
|
+
"@quenty/signal": "7.11.1"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "10565eabfa479c04dde7445c2755ea171d045eb5"
|
|
56
56
|
}
|
|
@@ -55,13 +55,22 @@ function TieSignalInterface:Connect(callback: (...any) -> ())
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
function TieSignalInterface:Wait()
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
local waitingCoroutine = coroutine.running()
|
|
59
|
+
local connection
|
|
60
|
+
connection = self:Connect(function(...)
|
|
61
|
+
connection:Disconnect()
|
|
62
|
+
task.spawn(waitingCoroutine, ...)
|
|
63
|
+
end)
|
|
64
|
+
return coroutine.yield()
|
|
60
65
|
end
|
|
61
66
|
|
|
62
|
-
function TieSignalInterface:Once(
|
|
63
|
-
|
|
64
|
-
|
|
67
|
+
function TieSignalInterface:Once(callback: (...any) -> ())
|
|
68
|
+
local connection
|
|
69
|
+
connection = self:Connect(function(...)
|
|
70
|
+
connection:Disconnect()
|
|
71
|
+
callback(...)
|
|
72
|
+
end)
|
|
73
|
+
return connection
|
|
65
74
|
end
|
|
66
75
|
|
|
67
76
|
function TieSignalInterface:ObserveBindableEventBrio()
|
|
@@ -258,6 +258,10 @@ function TieDefinition:Promise(adornee: Instance, tieRealm: TieRealm?)
|
|
|
258
258
|
}))
|
|
259
259
|
end
|
|
260
260
|
|
|
261
|
+
function TieDefinition:Wait(adornee: Instance, tieRealm: TieRealm?)
|
|
262
|
+
return self:Promise(adornee, tieRealm):Wait()
|
|
263
|
+
end
|
|
264
|
+
|
|
261
265
|
--[=[
|
|
262
266
|
Gets all valid interfaces for this adornee's children
|
|
263
267
|
|