{"id":"ddust1n/goodsignal","name":"goodsignal","scope":"ddust1n","platform":"roblox","description":"Fork of Goodsignal - A fast Signal class implementation that has full feature parity with Roblox' RBXScriptSignal","version":"0.3.2","latest":"0.3.2","versions":["0.3.2"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"14fe715432ddac8dfeca406549b7c2b4320c0996aa9a9e92b6ce00756e8a1582","likes":0,"downloads":0,"install":"forest install ddust1n/goodsignal","url":"https://forest.dev/p/roblox/ddust1n/goodsignal","files":"https://api.forest.dev/ai/package/roblox/ddust1n/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}