coroutine.wrap

From Garry's Mod
Jump to: navigation, search
 coroutine.wrap( )

Description

Returns a function which calling is equivalent with calling coroutine.resume with the coroutine and all extra parameters.

Arguments

function coroutine

Coroutine to resume.

Returns

function

func
Personal tools
Navigation