defersignal
Defers a signal invocation.
Syntax
defersignal(signal: RBXScriptSignal, ...) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | The RBXScriptSignal to inspect or act on. |
... | ... | Additional arguments forwarded to the target. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
defersignal is part of the Signals library. Signal helpers resolve live RBXScriptSignal objects and their connection lists. Firing and replication use the client's real signal paths.
The operation is performed immediately using the arguments supplied at the call site.
Example
defersignal(workspace.ChildAdded, workspace)
Notes
- Signal helpers operate on the live RBXScriptSignal and its connection list.