folly::popAsyncStackFrameCallee

Pop the 'callee' frame off the stack, restoring the parent frame as the current frame.

Synopsis

Declared in <folly/tracing/AsyncStack.h>

void
popAsyncStackFrameCallee(folly::AsyncStackFrame& calleeFrame) noexcept;

Description

This is typically used when the current async operation completes and you are about to call/resume the caller. e.g. performing a symmetric transfer to the calling coroutine in final_suspend().

If calleeFrame.getParentFrame() is null then this method is equivalent to deactivateAsyncStackFrame(), leaving no active AsyncStackFrame on the current AsyncStackRoot.

Parameters

NameDescription
calleeFrameThe active callee frame to pop.