AcediaDocumentation

firesignal

Delivers arguments to connected handlers and waiters of an engine signal.

Handler delivery is scheduled through task.spawn. A signal with no allocated connection core has nothing to fire. This does not provide general server replication.

firesignal(signal: RBXScriptSignal, ...: any): ()

Parameters

ParameterTypeDescription
signalRBXScriptSignalEngine signal to fire.
...anyValues delivered to handlers.

See Signal for the object’s members.

Example

local event = Instance.new("BindableEvent")
local connection = event.Event:Connect(function(value) print(value) end)
firesignal(event.Event, "example")
connection:Disconnect()
event:Destroy()

Example output

example

On this page