You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,5 +26,4 @@ Uh..
26
26
27
27
> "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should."
28
28
29
-
Realistically, it is oftentimes better to use an actual signal implementation, such as [FastSignal](https://github.com/RBLXUtils/FastSignal), especially if you want to get around the [limitations](https://create.roblox.com/docs/scripting/events/bindable#argument-limitations) imposed by traditional BindableEvents.
30
-
29
+
Realistically, it is oftentimes better to use an actual signal implementation, such as [RbxUtil's Signal](https://sleitnick.github.io/RbxUtil/api/Signal) or [FastSignal](https://github.com/RBLXUtils/FastSignal), especially if you want to get around the [limitations](https://create.roblox.com/docs/scripting/events/bindable#argument-limitations) imposed by traditional BindableEvents.
Copy file name to clipboardExpand all lines: src/init.luau
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,4 @@
1
1
--[=[
2
-
@class BindableEventWrapper
3
-
4
2
A wrapper around a [BindableEvent] that exposes a similar API to that of a normal signal library.
5
3
6
4
Please note that this has the same [limitations](https://create.roblox.com/docs/scripting/events/bindable#argument-limitations) as a regular BindableEvent.
Connects to the internal [BindableEvent's Event](https://create.roblox.com/docs/reference/engine/classes/BindableEvent#Event) and returns the [RBXScriptConnection](https://create.roblox.com/docs/reference/engine/datatypes/RBXScriptConnection) representing it.
69
+
Connects to the internal [BindableEvent's Event](https://create.roblox.com/docs/reference/engine/classes/BindableEvent#Event) and returns the [RBXScriptConnection] representing it.
72
70
73
71
See [RBXScriptSignal:Connect]
72
+
73
+
@within BindableEventWrapper
74
74
]=]
75
75
functionBindableEventWrapper.Connect(
76
76
self:BindableEventWrapper,
@@ -80,9 +80,9 @@ function BindableEventWrapper.Connect(
80
80
end
81
81
82
82
--[=[
83
-
@within BindableEventWrapper
84
-
85
83
See [RBXScriptSignal:ConnectParallel]
84
+
85
+
@within BindableEventWrapper
86
86
]=]
87
87
functionBindableEventWrapper.ConnectParallel(
88
88
self:BindableEventWrapper,
@@ -92,11 +92,11 @@ function BindableEventWrapper.ConnectParallel(
92
92
end
93
93
94
94
--[=[
95
-
@within BindableEventWrapper
96
-
97
-
Connects to the [internal BindableEvent's Event](https://create.roblox.com/docs/reference/engine/classes/BindableEvent#Event) such that the connection is disconnected after the first event is delivered. Returns the [RBXScriptConnection](https://create.roblox.com/docs/reference/engine/datatypes/RBXScriptConnection) representing the connection.
95
+
Connects to the internal [BindableEvent's Event](https://create.roblox.com/docs/reference/engine/classes/BindableEvent#Event) such that the connection is disconnected after the first event is delivered. Returns the [RBXScriptConnection](https://create.roblox.com/docs/reference/engine/datatypes/RBXScriptConnection) representing the connection.
98
96
99
97
See [RBXScriptSignal:Once]
98
+
99
+
@within BindableEventWrapper
100
100
]=]
101
101
functionBindableEventWrapper.Once(
102
102
self:BindableEventWrapper,
@@ -106,12 +106,12 @@ function BindableEventWrapper.Once(
106
106
end
107
107
108
108
--[=[
109
-
@within BindableEventWrapper
110
-
@yields
111
-
112
109
Yields until the internal [BindableEvent's Event](https://create.roblox.com/docs/reference/engine/classes/BindableEvent#Event) fires. Returns the arguments provided by the signal.
0 commit comments