stravant / goodsignal

A Roblox Lua Signal implementation that has full API and behavioral parity with Roblox' RBXScriptSignal
MIT License
46 stars 12 forks source link

Support returning function arguments when calling :Wait() #9

Closed 2jammers closed 1 year ago

2jammers commented 1 year ago

I think it would good to have consistency with BindableEvents being able to return the arguments that it was fired with.

lucasmz-dev commented 1 year ago

GoodSignal does return arguments on :Wait.

image

2jammers commented 1 year ago

Oh, I did not know coroutine.yield did that. Thanks for telling me!