Yuari
Documentation

Fire

Fires the signal manually, useful for BindableEvent-style patterns. firesignal(signal, ...) is the equivalent global helper.

Syntax

:Fire(...) -> nil
firesignal(signal, ...) -> nil

Parameters

ParameterTypeDescription
......Additional arguments forwarded to the target.

Returns

TypeDescription
nilThis function does not return a value.

Description

Fire is part of the Signals library. Signals in the VM share the RBXScriptSignal API and are pumped from the external tick loop.

The operation is performed immediately using the arguments supplied at the call site.

firesignal(signal, ...) calls the same implementation with the signal as the first argument, matching the executor helper of the same name.

Example

local event = Instance.new("BindableEvent")
event.Event:Connect(function(value)
    print(value)
end)
event.Event:Fire("hello")

Notes

  • Signals share the RBXScriptSignal API across the VM.
  • firesignal(signal, ...) — Global alias of signal:Fire(...).