forEachFrame(_:)
Iterates all frames efficiently.
Declaration
func forEachFrame(_ body: (CallStackFrame) throws -> Void) rethrowsParameters
- body:
A closure that processes each frame
Mentioned in
Discussion
Use this method for optimized traversal of the entire call stack tree.