Nursery: document syncAwaitAll's caller io_context requirement for LLMs

This commit is contained in:
2026-06-09 16:48:58 -04:00
parent 656aae37c8
commit d33e70f14a
3 changed files with 26 additions and 4 deletions
@@ -25,6 +25,10 @@ public:
boost::asio::post(io_context, []{});
}
/** Blocks the calling thread in run_one() on the bridge's io_context.
* Used by syncAwaitAllSettlements(); that io_context must be the caller
* thread's own queue so posted completions on the caller are not starved.
*/
void waitForAsyncOperationCompleteOrIoContextStopped(void)
{
for (;;)