blob: 80f41979ce8ca7b44e349d3199801192256308b3 [file] [log] [blame]
Zesstra715ec202025-07-09 22:18:31 +02001SYNOPSIS
2 mixed call_coroutine(coroutine cr, mixed value = 0)
3
4DESCRIPTION
5 Continues execution of the coroutine.
6
7 The value will be passed as the result of its last suspension
8 point (the previous yield() call of its execution). If the
9 coroutine is at its start, the value will be discarded.
10
11 The coroutine may pass execution to other coroutines through
12 await() and yield() calls. A yield() call without a coroutine,
13 a return statement or simply the end of the statement block
14 will return to the caller.
15
16 The result of the call will be the value given to the yield()
17 or return statement.
18
19HISTORY
20 Coroutines were introduced in LDMud 3.6.5.
21
22SEE ALSO
23 coroutines(LPC), this_coroutine(E)