Home  Contents

coroutine.create

Coroutine Lua Commands

SYNOPSIS

coroutine.create(f)

DESCRIPTION

Creates a new coroutine, with body f. f must be a Lua function. Returns this new coroutine, an object with type "thread".