Functions -
runtime
| externGetProperty | |
| getCallStack | Retrieves the Call Stack |
| getInvocationContext | Creates a InvocationContext instance. |
| getProperty | Returns the value associated with the specified property name. |
| sleep | Halts the current worker for a predefined amount of time. |
| timeout | Gives a timeout to the current worker for a predefined amount of time. |
Retrieves the Call Stack
-
Return Type
(CallStackElement[]) Array of
CallStackElementelements
Creates a InvocationContext instance.
-
Return Type
(InvocationContext) InvocationContext instance
Returns the value associated with the specified property name.
Parameters
- name string
-
Name of the property
-
Return Type
(string) Value of the property if the property exists, an empty string otherwise
Halts the current worker for a predefined amount of time.
Parameters
- millis int
-
Amount of time to sleep in milliseconds