coroutine.wrap
From GMod Wiki
| This page needs reviewing. An expert needs to verify that all of the information in this page is correct. See more articles for review here. |
| Function | |
| Syntax |
coroutine.wrap( function func ) Where is this used? |
| Description: | |
| Creates a new coroutine that runs the passed function. Calling the returned function will resume the coroutine. | |
| Returns: | function |
| Part of Library: | Corout |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Coroutine.wrap]Coroutine.wrap [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |