Apply fn on all suspended leaf frames. Note: Avoid performing async work within fn as it may cause deadlocks.
Declared in <folly/tracing/AsyncStack.h>
void
sweepSuspendedLeafFrames(folly::FunctionRef<void(AsyncStackFrame*)> fn);
This API does nothing in non-debug-builds.
| Name | Description |
|---|---|
| fn | Callable applied to each suspended leaf frame. |