{"id":"imephrem/goodsignal","name":"goodsignal","scope":"imephrem","platform":"roblox","description":"Mirrored from the Wally registry.","version":"0.2.4","latest":"0.2.4","versions":["0.1.0","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":"68257a9599a7a6571b6cce2cc1031187539b4ba847ca4f8fb2b5de2c3ce68c9f","likes":0,"downloads":0,"install":"forest install imephrem/goodsignal","url":"https://forest.dev/p/roblox/imephrem/goodsignal","files":"https://api.forest.dev/ai/package/roblox/imephrem/goodsignal/files","readme":"# GoodSignal\r\nA Roblox Lua Signal implementation that has full API and behavioral parity with Roblox' `RBXScriptSignal` type.\r\n\r\n# Full API\r\n\r\n```lua\r\n-- Create\r\nlocal sig = Signal.new()\r\n\r\n-- Connect and Fire\r\nlocal connection = sig:Connect(function(arg1, arg2) ... end)\r\nsig:Fire(param1, param2)\r\n\r\n-- Wait on Fire\r\nlocal param1, param2 = sig:Wait()\r\n\r\n-- Disconnect\r\nconnection:Disconnect()\r\nsig:DisconnectAll()\r\n```\r\n# No Memory Leaks!\r\n`GoodSignal` is implemented in pure Lua (using the task library, rather than internally using a BindableEvent), so it does not suffer from memory leaks. Even if you don't `Disconnect` all of the connections on a GoodSignal, everything will still be GCed normally.\r\n","readmeTruncated":false}