Garry's Mod Wiki

Revision Difference

coroutine.wrap#514150

<function name="wrap" parent="coroutine" type="libraryfunc">⤶ <description>Returns a function which calling is equivalent with calling <page>coroutine.resume</page> with the coroutine and all extra parameters.</description>⤶ <realm>Shared and Menu</realm>⤶ <args>⤶ <arg name="coroutine" type="function">Coroutine to resume.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="function">func</ret>⤶ </rets>⤶ </function>⤶ ⤶