search/
Start typing to search packages!
package_2
luausignal
By @ffrostflame
Roblox
MirroredLuauSignal
A pure-Luau signal implementation
LuauSignal is a signal implementation written for modern Luau, with the added benefit of being incredibly fast. It has an API that mirrors Roblox's RBXScriptSignal, with a few minor differences. The primary benefit that LuauSignal gives is it being strictly typed, with generic type arguments so you can typecheck your signals.
local LuauSignal = require(path.to.LuauSignal)
local tookDamage: LuauSignal.Signal<Player, number> = LuauSignal.new()
tookDamage:Connect(function(player, amount)
print(`player { player.Name } took { amount } damage!`)
end)
tookDamage:Fire(Players.theReader101, 50)
Package Details
Install command (Click to copy)
Version
0.2.4
License
MIT
Safe for commercial use
License identified from the packaged LICENSE file; the manifest declared none.
Automated license review — not legal advice.
