Add folly::coro::AsyncScope::remaining()
Summary: Add a method for querying the number of remaining tasks that have been added to an AsyncScope but that have not yet completed. This can be useful for implementing some load-shedding strategies based on the current number of active tasks added to a scope. Reviewed By: andriigrynenko Differential Revision: D21461637 fbshipit-source-id: 628c236e0c99fa952e63f84366186246e5286bc8
Showing
Please register or sign in to comment