Functions - runtime

getCallStack
I

Retrieves the array of runtime:CallStackElement instances.

getInvocationContext
I

Returns the runtime:InvocationContext instance.

sleep
I

Halts the current strand for a predefined amount of time.

getCallStack

()

returns CallStackElement[]
Isolated Function

Retrieves the array of runtime:CallStackElement instances.

 runtime:CallStackElement[] callStackElements = runtime:getCallStack();

getInvocationContext

()

returns InvocationContext
Isolated Function

Returns the runtime:InvocationContext instance.

 runtime:InvocationContext invocationContext = runtime:getInvocationContext();

sleep

(int millis)

Isolated Function

Halts the current strand for a predefined amount of time.

 runtime:sleep(1000);

Parameters

  • millis int
  • Amount of time to sleep in milliseconds