@quenty/signal 7.13.0 → 7.13.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 +24 -187
- package/package.json +2 -2
- package/src/Shared/OldSignal.lua +3 -3
- package/src/Shared/Signal.lua +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,365 +3,202 @@
|
|
|
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.13.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.13.0...@quenty/signal@7.13.1) (2026-05-30)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @quenty/signal
|
|
9
9
|
|
|
10
|
+
# [7.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.12.0...@quenty/signal@7.13.0) (2026-04-23)
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
**Note:** Version bump only for package @quenty/signal
|
|
13
13
|
|
|
14
14
|
# [7.12.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.11.5...@quenty/signal@7.12.0) (2026-02-17)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @quenty/signal
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
18
|
## [7.11.5](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.11.4...@quenty/signal@7.11.5) (2026-01-12)
|
|
23
19
|
|
|
24
|
-
|
|
25
20
|
### Bug Fixes
|
|
26
21
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
- Fix dependency installation process for pnpm ([9651b09](https://github.com/Quenty/NevermoreEngine/commit/9651b09af34f252ef3f9c7c539793cc878dd8cba))
|
|
32
23
|
|
|
33
24
|
## [7.11.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.11.3...@quenty/signal@7.11.4) (2026-01-10)
|
|
34
25
|
|
|
35
26
|
**Note:** Version bump only for package @quenty/signal
|
|
36
27
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
28
|
## [7.11.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.11.2...@quenty/signal@7.11.3) (2026-01-03)
|
|
42
29
|
|
|
43
30
|
**Note:** Version bump only for package @quenty/signal
|
|
44
31
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
32
|
## [7.11.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.11.1...@quenty/signal@7.11.2) (2025-12-29)
|
|
50
33
|
|
|
51
|
-
|
|
52
34
|
### Bug Fixes
|
|
53
35
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
36
|
+
- Update typing to be more accurate ([e4c3d05](https://github.com/Quenty/NevermoreEngine/commit/e4c3d05a0aa9f45a37cbfa372c5e0d8a748c9323))
|
|
59
37
|
|
|
60
38
|
## [7.11.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.11.0...@quenty/signal@7.11.1) (2025-08-12)
|
|
61
39
|
|
|
62
|
-
|
|
63
40
|
### Bug Fixes
|
|
64
41
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
42
|
+
- Add some stories for debugging ([ce37c08](https://github.com/Quenty/NevermoreEngine/commit/ce37c08bacf7035e31d0b29ca525cb4521d762a9))
|
|
43
|
+
- Cleanup signals properly ([987af9e](https://github.com/Quenty/NevermoreEngine/commit/987af9e54c71e953eb06f2167406b30c785801c3))
|
|
71
44
|
|
|
72
45
|
# [7.11.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.10.3...@quenty/signal@7.11.0) (2025-05-10)
|
|
73
46
|
|
|
74
47
|
**Note:** Version bump only for package @quenty/signal
|
|
75
48
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
49
|
## [7.10.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.10.2...@quenty/signal@7.10.3) (2025-04-10)
|
|
81
50
|
|
|
82
51
|
**Note:** Version bump only for package @quenty/signal
|
|
83
52
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
53
|
## [7.10.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.10.0...@quenty/signal@7.10.2) (2025-04-07)
|
|
89
54
|
|
|
90
|
-
|
|
91
55
|
### Bug Fixes
|
|
92
56
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
57
|
+
- Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
58
|
+
- Bump package versions for republishing ([ba47c62](https://github.com/Quenty/NevermoreEngine/commit/ba47c62e32170bf74377b0c658c60b84306dc294))
|
|
99
59
|
|
|
100
60
|
## [7.10.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.10.0...@quenty/signal@7.10.1) (2025-04-07)
|
|
101
61
|
|
|
102
|
-
|
|
103
62
|
### Bug Fixes
|
|
104
63
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
64
|
+
- Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
110
65
|
|
|
111
66
|
# [7.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.9.0...@quenty/signal@7.10.0) (2025-02-18)
|
|
112
67
|
|
|
113
68
|
**Note:** Version bump only for package @quenty/signal
|
|
114
69
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
70
|
# [7.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.8.1...@quenty/signal@7.9.0) (2024-11-06)
|
|
120
71
|
|
|
121
|
-
|
|
122
72
|
### Performance Improvements
|
|
123
73
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
74
|
+
- Better perf check on category ([594d5bb](https://github.com/Quenty/NevermoreEngine/commit/594d5bb8f56817b501f7c47053615d6cc3f8e313))
|
|
129
75
|
|
|
130
76
|
## [7.8.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.8.0...@quenty/signal@7.8.1) (2024-11-04)
|
|
131
77
|
|
|
132
78
|
**Note:** Version bump only for package @quenty/signal
|
|
133
79
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
80
|
# [7.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.7.0...@quenty/signal@7.8.0) (2024-10-06)
|
|
139
81
|
|
|
140
82
|
**Note:** Version bump only for package @quenty/signal
|
|
141
83
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
84
|
# [7.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.6.0...@quenty/signal@7.7.0) (2024-10-04)
|
|
147
85
|
|
|
148
|
-
|
|
149
86
|
### Bug Fixes
|
|
150
87
|
|
|
151
|
-
|
|
152
|
-
|
|
88
|
+
- GoodSignal now uses the connection memory category instead of the original items memory category, resulting in even more accurate tracking ([c18353d](https://github.com/Quenty/NevermoreEngine/commit/c18353d61a4b4966ad4025c3b7e58b895dcb16a8))
|
|
153
89
|
|
|
154
90
|
### Performance Improvements
|
|
155
91
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
92
|
+
- Connection clears references, and avoids storing \_connected and \_next, which reduces memory usage of signal ([8738269](https://github.com/Quenty/NevermoreEngine/commit/8738269c457b8075b89dd18e7371a103413879d6))
|
|
161
93
|
|
|
162
94
|
# [7.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.5.0...@quenty/signal@7.6.0) (2024-09-25)
|
|
163
95
|
|
|
164
|
-
|
|
165
96
|
### Bug Fixes
|
|
166
97
|
|
|
167
|
-
|
|
168
|
-
|
|
98
|
+
- Selene doesn't know debug.getmemorycategory() ([0c613a3](https://github.com/Quenty/NevermoreEngine/commit/0c613a3ae0b6ba6a4cda511f572220bfa951c70d))
|
|
169
99
|
|
|
170
100
|
### Features
|
|
171
101
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
102
|
+
- MemoryCategory is tracked properly in signal (Not sure what the perf implications of this are) ([4d43b0c](https://github.com/Quenty/NevermoreEngine/commit/4d43b0c0c07fd5d24335b1801ca96c58d37ba149))
|
|
177
103
|
|
|
178
104
|
# [7.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.4.0...@quenty/signal@7.5.0) (2024-09-25)
|
|
179
105
|
|
|
180
106
|
**Note:** Version bump only for package @quenty/signal
|
|
181
107
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
108
|
# [7.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.3.0...@quenty/signal@7.4.0) (2024-09-12)
|
|
187
109
|
|
|
188
110
|
**Note:** Version bump only for package @quenty/signal
|
|
189
111
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
112
|
# [7.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.2.0...@quenty/signal@7.3.0) (2024-05-09)
|
|
195
113
|
|
|
196
|
-
|
|
197
114
|
### Bug Fixes
|
|
198
115
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
116
|
+
- Fix .package-lock.json replicating in packages ([75d0efe](https://github.com/Quenty/NevermoreEngine/commit/75d0efeef239f221d93352af71a5b3e930ec23c5))
|
|
204
117
|
|
|
205
118
|
# [7.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.1.0...@quenty/signal@7.2.0) (2024-04-27)
|
|
206
119
|
|
|
207
120
|
**Note:** Version bump only for package @quenty/signal
|
|
208
121
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
122
|
# [7.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@7.0.0...@quenty/signal@7.1.0) (2024-03-09)
|
|
214
123
|
|
|
215
124
|
**Note:** Version bump only for package @quenty/signal
|
|
216
125
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
126
|
# [7.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@6.0.0...@quenty/signal@7.0.0) (2024-02-14)
|
|
222
127
|
|
|
223
128
|
**Note:** Version bump only for package @quenty/signal
|
|
224
129
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
130
|
# [6.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@5.0.0...@quenty/signal@6.0.0) (2024-02-13)
|
|
230
131
|
|
|
231
132
|
**Note:** Version bump only for package @quenty/signal
|
|
232
133
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
134
|
# [5.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@4.0.0...@quenty/signal@5.0.0) (2024-02-13)
|
|
238
135
|
|
|
239
136
|
**Note:** Version bump only for package @quenty/signal
|
|
240
137
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
138
|
# [4.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@3.2.0...@quenty/signal@4.0.0) (2024-01-10)
|
|
246
139
|
|
|
247
140
|
**Note:** Version bump only for package @quenty/signal
|
|
248
141
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
142
|
# [3.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@3.1.0...@quenty/signal@3.2.0) (2024-01-08)
|
|
254
143
|
|
|
255
144
|
**Note:** Version bump only for package @quenty/signal
|
|
256
145
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
146
|
# [3.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@3.0.0...@quenty/signal@3.1.0) (2023-12-14)
|
|
262
147
|
|
|
263
148
|
**Note:** Version bump only for package @quenty/signal
|
|
264
149
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
150
|
# [3.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@2.4.0...@quenty/signal@3.0.0) (2023-10-11)
|
|
270
151
|
|
|
271
|
-
|
|
272
152
|
### Features
|
|
273
153
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
154
|
+
- Use GoodSignal only as signal implementation ([4475cab](https://github.com/Quenty/NevermoreEngine/commit/4475cab448564a8cf8e51902e30f5c486bf49ac3))
|
|
279
155
|
|
|
280
156
|
# [2.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@2.3.0...@quenty/signal@2.4.0) (2023-05-26)
|
|
281
157
|
|
|
282
|
-
|
|
283
158
|
### Features
|
|
284
159
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
160
|
+
- Initial refactor of guis to use ValueObject instead of ValueObject ([723aba0](https://github.com/Quenty/NevermoreEngine/commit/723aba0208cae7e06c9d8bf2d8f0092d042d70ea))
|
|
290
161
|
|
|
291
162
|
# [2.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@2.2.0...@quenty/signal@2.3.0) (2022-08-22)
|
|
292
163
|
|
|
293
|
-
|
|
294
164
|
### Features
|
|
295
165
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
166
|
+
- Signal :Once(fn) method ([#285](https://github.com/Quenty/NevermoreEngine/issues/285)) ([9f9f8e3](https://github.com/Quenty/NevermoreEngine/commit/9f9f8e3f0d50f73392271011aa3a37f137ae03fb))
|
|
301
167
|
|
|
302
168
|
# [2.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@2.1.0...@quenty/signal@2.2.0) (2022-03-27)
|
|
303
169
|
|
|
304
170
|
**Note:** Version bump only for package @quenty/signal
|
|
305
171
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
172
|
# [2.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@2.0.2...@quenty/signal@2.1.0) (2022-01-03)
|
|
311
173
|
|
|
312
|
-
|
|
313
174
|
### Features
|
|
314
175
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
176
|
+
- Add Signal.isSignal(value) ([b2810ea](https://github.com/Quenty/NevermoreEngine/commit/b2810ea593223a9fe220f5e475221683d837fe9d))
|
|
320
177
|
|
|
321
178
|
## [2.0.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@2.0.1...@quenty/signal@2.0.2) (2021-12-30)
|
|
322
179
|
|
|
323
180
|
**Note:** Version bump only for package @quenty/signal
|
|
324
181
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
182
|
## [2.0.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@2.0.0...@quenty/signal@2.0.1) (2021-12-30)
|
|
330
183
|
|
|
331
184
|
**Note:** Version bump only for package @quenty/signal
|
|
332
185
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
186
|
# [2.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/signal@1.2.0...@quenty/signal@2.0.0) (2021-09-05)
|
|
338
187
|
|
|
339
|
-
|
|
340
188
|
### Bug Fixes
|
|
341
189
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
190
|
+
- Remove peer dependencies. This is because lerna doesn't really support peer dependencies being linked and getting a new version on build, which is unfortunate. ([5f5aeee](https://github.com/Quenty/NevermoreEngine/commit/5f5aeeea8de9975435309e53679f0ef7064f9dd0))
|
|
347
191
|
|
|
348
192
|
# 1.2.0 (2021-07-31)
|
|
349
193
|
|
|
350
|
-
|
|
351
194
|
### Bug Fixes
|
|
352
195
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
196
|
+
- Add CI and CD ([47513e9](https://github.com/Quenty/NevermoreEngine/commit/47513e9b568162707534af132396dd8756947dd3))
|
|
197
|
+
- Adjust CI badge to show automatic build and release state ([5a55d3f](https://github.com/Quenty/NevermoreEngine/commit/5a55d3f19bf8d66a760d67da9b56ed47fab74656))
|
|
198
|
+
- Fix selene linting ([45fc074](https://github.com/Quenty/NevermoreEngine/commit/45fc07489ee59127ac6582689f19a0e87c1e5b5a))
|
|
358
199
|
|
|
359
200
|
## 1.0.2 (2021-07-25)
|
|
360
201
|
|
|
361
|
-
|
|
362
|
-
|
|
363
202
|
## 1.0.1 (2021-07-25)
|
|
364
203
|
|
|
365
|
-
|
|
366
|
-
|
|
367
204
|
# 1.0.0 (2021-07-24)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/signal",
|
|
3
|
-
"version": "7.13.
|
|
3
|
+
"version": "7.13.1",
|
|
4
4
|
"description": "A simple signal implementation for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@quenty/loader": "10.11.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "598b2b62b36bdcbdbbd56f7db10c399831cc6eba"
|
|
39
39
|
}
|
package/src/Shared/OldSignal.lua
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
--[=[
|
|
3
3
|
Lua-side duplication of the [API of events on Roblox objects](https://create.roblox.com/docs/reference/engine/datatypes/RBXScriptSignal).
|
|
4
4
|
|
|
5
|
-
Signals are needed
|
|
5
|
+
Signals are needed to ensure that for local events objects are passed by
|
|
6
6
|
reference rather than by value where possible, as the BindableEvent objects
|
|
7
7
|
always pass signal arguments by value, meaning tables will be deep copied.
|
|
8
|
-
Roblox's deep copy method parses to a non-lua table
|
|
8
|
+
Roblox's deep copy method parses to a non-lua table compatible format.
|
|
9
9
|
|
|
10
10
|
This class is designed to work both in deferred mode and in regular mode.
|
|
11
11
|
It follows whatever mode is set.
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
:::info
|
|
26
26
|
Why this over a direct [BindableEvent]? Well, in this case, the signal
|
|
27
|
-
prevents Roblox from trying to serialize and
|
|
27
|
+
prevents Roblox from trying to serialize and deserialize each table reference
|
|
28
28
|
fired through the BindableEvent.
|
|
29
29
|
:::
|
|
30
30
|
|
package/src/Shared/Signal.lua
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Lua-side duplication of the [API of events on Roblox objects](https://create.roblox.com/docs/reference/engine/datatypes/RBXScriptSignal).
|
|
6
6
|
|
|
7
|
-
Signals are needed
|
|
7
|
+
Signals are needed to ensure that for local events objects are passed by
|
|
8
8
|
reference rather than by value where possible, as the BindableEvent objects
|
|
9
9
|
always pass signal arguments by value, meaning tables will be deep copied.
|
|
10
|
-
Roblox's deep copy method parses to a non-lua table
|
|
10
|
+
Roblox's deep copy method parses to a non-lua table compatible format.
|
|
11
11
|
|
|
12
12
|
This class is designed to work both in deferred mode and in regular mode.
|
|
13
13
|
It follows whatever mode is set.
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
:::info
|
|
28
28
|
Why this over a direct [BindableEvent]? Well, in this case, the signal
|
|
29
|
-
prevents Roblox from trying to serialize and
|
|
29
|
+
prevents Roblox from trying to serialize and deserialize each table reference
|
|
30
30
|
fired through the BindableEvent.
|
|
31
31
|
:::
|
|
32
32
|
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
Author notes:
|
|
41
41
|
stravant - July 31st, 2021 - Created the file.
|
|
42
|
-
Quenty -
|
|
42
|
+
Quenty - August 21st, 2023 - Modified to fit Nevermore contract, with Moonwave docs
|
|
43
43
|
|
|
44
44
|
@class GoodSignal
|
|
45
45
|
]=]
|
|
@@ -235,7 +235,7 @@ end
|
|
|
235
235
|
--[=[
|
|
236
236
|
Fire the event with the given arguments. All handlers will be invoked. Handlers follow
|
|
237
237
|
|
|
238
|
-
:::
|
|
238
|
+
:::info
|
|
239
239
|
Signal:Fire(...) is implemented by running the handler functions on the
|
|
240
240
|
coRunnerThread, and any time the resulting thread yielded without returning
|
|
241
241
|
to us, that means that it yielded to the Roblox scheduler and has been taken
|
|
@@ -263,7 +263,7 @@ end
|
|
|
263
263
|
--[=[
|
|
264
264
|
Wait for fire to be called, and return the arguments it was given.
|
|
265
265
|
|
|
266
|
-
:::
|
|
266
|
+
:::info
|
|
267
267
|
Signal:Wait() is implemented in terms of a temporary connection using
|
|
268
268
|
a Signal:Connect() which disconnects itself.
|
|
269
269
|
:::
|
|
@@ -286,7 +286,7 @@ end
|
|
|
286
286
|
--[=[
|
|
287
287
|
Connect a new, one-time handler to the event. Returns a connection object that can be disconnected.
|
|
288
288
|
|
|
289
|
-
:::
|
|
289
|
+
:::info
|
|
290
290
|
-- Implement Signal:Once() in terms of a connection which disconnects
|
|
291
291
|
-- itself before running the handler.
|
|
292
292
|
:::
|
|
@@ -304,7 +304,7 @@ function Signal.Once<T...>(self: Signal<T...>, fn: SignalHandler<T...>): Connect
|
|
|
304
304
|
end
|
|
305
305
|
|
|
306
306
|
--[=[
|
|
307
|
-
Alias for [DisconnectAll]
|
|
307
|
+
Alias for [Signal.DisconnectAll]
|
|
308
308
|
|
|
309
309
|
@function Destroy
|
|
310
310
|
@within Signal
|