Aliases
SignalObject.wait
Arguments
This function takes no arguments.Returns
...any
The values passed to the next firing.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Yields the current coroutine until the next custom Signal firing.
event:Wait(): ...any
SignalObject.waitlocal event = Signal.new()
task.spawn(function()
local value = event:Wait()
print(value)
end)
task.wait()
event:Fire("hello")
task.wait()
event:Destroy()
