This interface is internally used to manage coroutine call stacks. getStackItem only returns stack items with -D coro.stack-traces.

Methods

callerFrame():Null<IStackFrame>

Returns the frame of the caller, or null if there isn't any.

getStackItem():Null<CoroStackItem>

Returns the current CoroStackItem, which is generally the location this frame was called from. Can be null if no such information exists.