search/
Start typing to search packages!
package_2
signal
By @cometahn142
Roblox
Mirrored from WallyThis version ships no README. Showing the README from v0.1.2, mirrored from wally.
Signal
Signal is a lightweight event library for Luau focused on fast dispatch, predictable listener behavior, and straightforward cleanup.
It is meant to replace ad-hoc callback lists with a small, reusable event primitive that feels natural in gameplay code.
Features
- Fast
ConnectandFire - One-shot listeners with
Once - Coroutine-friendly
Wait - Cleanup via
DisconnectAllandDestroy - Connection objects that expose
Connected
Installation
[dependencies]
Signal = "cometahn142/signal@^0.1"
Quick Example
local Signal = require(Packages.Signal)
local OnDamage = Signal.new()
local conn = OnDamage:Connect(function(amount)
print("Damage:", amount)
end)
OnDamage:Fire(25)
conn:Disconnect()
OnDamage:Destroy()
Documentation
- Installation
- Usage Patterns
- Signal API
License
MIT. See LICENSE.
Package Details
Install command (Click to copy)
Version
1.1.0
License
MIT
Safe for commercial use
Automated license review — not legal advice.
