Skip to content

Commit 34c21c8

Browse files
authored
Make signal delegate static to avoid memory allocation (#695)
* Make signal delegate static to avoid memory allocation
1 parent 36b4f63 commit 34c21c8

File tree

133 files changed

+1410
-1478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+1410
-1478
lines changed

docs/src/doc/user-guide/signals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To create a signal use the delegate function `signal` and annotate it with `@Reg
99
@RegisterClass
1010
class RotatingCube: Node3D() {
1111
@RegisterSignal
12-
val reverseChanged by signal<Boolean>("reverse")
12+
val reverseChanged: Signal1<Boolean> by signal("reverse")
1313
}
1414
```
1515

0 commit comments

Comments
 (0)