completion_future::to_task Method

Returns a task object corresponding to the associated asynchronous operation.

concurrency::task<void> to_task() const;

Return Value

A task object corresponding to the associated asynchronous operation.

Requirements

Header: amprt.h

Namespace: concurrency

See Also

Reference

completion_future Class