Garry's Mod Wiki

coroutine.status

  string coroutine.status( thread coroutine )

Description

Returns the status of the coroutine passed to it, the possible statuses are "suspended", "running", and "dead".

Arguments

1 thread coroutine
Coroutine to check the status of.

Returns

1 string
status