Coroutine Help File


Table of Contents

Coroutine.New
Coroutine.Start
Coroutine.Continue
Coroutine.Status
Coroutine.SuspendThisRoutine

Coroutine.New


(thread) Coroutine.New ( 

(function) Function-Name )

Description

Creats the coroutine of a function.

Parameters

Function-Name

(function) The funciton which should be work as a coroutine.


Return

This action returns a (thread) value.



Coroutine.Start


(boolean) Coroutine.Start ( 

(thread) Coroutine,

(string) Parameters )

Description

Starts the coroutine with the given parameters

Parameters

Coroutine

(thread) Result of Coroutine.New

Parameters

(string) Parameters to call your function


Return

This action returns a (boolean) value.



Coroutine.Continue


(boolean) Coroutine.Continue ( 

(thread) Coroutine )

Description

Resume a suspended coroutine.

Parameters

Coroutine

(thread) Result of Coroutine.New


Return

This action returns a (boolean) value.



Coroutine.Status


(string) Coroutine.Status ( 

(thread) Coroutine )

Description

Returns the status of a coroutine as a string.

Parameters

Coroutine

(thread) Result of Coroutine.New


Return

This action returns a (string) value.



Coroutine.SuspendThisRoutine


Coroutine.SuspendThisRoutine ()

Description

Suspends a working coroutine.

Parameters

None


Return

This action dose not return any value.



Made with Action Plugin Compiler