Functions - runtime

getCallStack

Retrieves the array of runtime:CallStackElement instances.

getInvocationContext

Returns the runtime:InvocationContext instance.

sleep

Halts the current strand for a predefined amount of time.

getCallStack

()

returns CallStackElement[]

Retrieves the array of runtime:CallStackElement instances.

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

getInvocationContext

()

returns InvocationContext

Returns the runtime:InvocationContext instance.

 runtime:InvocationContext invocationContext = runtime:getInvocationContext();

sleep

(int millis)

Halts the current strand for a predefined amount of time.

 runtime:sleep(1000);

Parameters

  • millis int
  • Amount of time to sleep in milliseconds