...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(Inherited from async_base
)
Invoke the final completion handler.
template< class... Args> void complete_now( Args&&... args);
This invokes the final completion handler with the specified arguments
forwarded. It is undefined to call either of complete
or complete_now
more than once. Any
temporary objects allocated with beast::allocate_stable
will be automatically
destroyed before the final completion handler is invoked.
Name |
Description |
---|---|
|
A list of optional parameters to invoke the handler with. The completion handler must be invocable with the parameter list, or else a compilation error will result. |