{"id":"ffrostflame/luausignal","name":"luausignal","scope":"ffrostflame","platform":"roblox","description":"Mirrored from the Wally registry.","version":"0.2.4","latest":"0.2.4","versions":["0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4"],"license":"MIT","licenseRating":"safe","licenseCaveats":["License identified from the packaged LICENSE file; the manifest declared none."],"licenseVerified":true,"dependencies":{},"integrity":"89862b98755adb7271a1fb0c3fb4ca19aa449f20554d08e099ddbce0b54f12b3","likes":0,"downloads":0,"install":"forest install ffrostflame/luausignal","url":"https://forest.dev/p/roblox/ffrostflame/luausignal","files":"https://api.forest.dev/ai/package/roblox/ffrostflame/luausignal/files","readme":"# LuauSignal\r\n\r\n---\r\n\r\n## A pure-Luau signal implementation\r\n\r\nLuauSignal 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.\r\n\r\n```lua\r\nlocal LuauSignal = require(path.to.LuauSignal)\r\n\r\nlocal tookDamage: LuauSignal.Signal<Player, number> = LuauSignal.new()\r\n\r\ntookDamage:Connect(function(player, amount)\r\n\tprint(`player { player.Name } took { amount } damage!`)\r\nend)\r\n\r\ntookDamage:Fire(Players.theReader101, 50)\r\n```\r\n","readmeTruncated":false}