A customization point that allows to provide an async cleanup function for a type. folly::coro::AutoCleanup uses co_cleanup_fn as the default cleanup function, so it is enough to define co_cleanup for a type to be able to use it with AutoCleanup.
Synopsis
Declared in <folly/coro/Cleanup.h>
struct co_cleanup_fn;
Member Functions
Name |
Description |
Function call operators |
Created with MrDocs