Garry's Mod Wiki

Garry's Mod Wiki

  boolean, vararg coroutine.resume( thread coroutine, ... )

Description

Resumes the given coroutine and passes the given vararg to either the function arguments or the coroutine.yield that is inside that function and returns whatever yield is called with the next time or by the final return in the function.

Arguments

1 thread coroutine
Coroutine to resume.
2 vararg args
Arguments to be returned by coroutine.yield.

Returns

1 boolean
If the executed thread code had no errors occur within it.
2 vararg
If an error occurred, this will be a string containing the error message. Otherwise, this will be arguments that were yielded.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...