summaryrefslogtreecommitdiff
path: root/server/locale/en-US/libs/lua53/coroutine.lni
blob: 30be48ba3333804ae95d522ddc713a9e10f29639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[create]
description = 'Creates a new coroutine.'

[isyieldable]
description = 'Returns true when the running coroutine can yield.'

[resume]
description = 'Starts or continues the execution of coroutine co.'

[running]
description = 'Returns the running coroutine plus a boolean, true when the running coroutine is the main one.'

[status]
description = 'Returns the status of coroutine co.'
[[.enums]]
name = 'status'
enum = 'running'
description = 'Is running.'
[[.enums]]
name = 'status'
enum = 'suspended'
description = 'Is suspended or not started.'
[[.enums]]
name = 'status'
enum = 'normal'
description = 'Is active but not running.'
[[.enums]]
name = 'status'
enum = 'dead'
description = 'Has finished or stopped with an error.'

[wrap]
description = 'Creates a new coroutine.'

[yield]
description = 'Suspends the execution of the calling coroutine.'