template <typename ResultType>

class AsyncTask

Defined at line 49 of file ../../sdk/lib/driver/testing/cpp/driver_runtime.h

This class wraps a fpromise::promise for an asynchronous task. This prevents the user from

being exposed directly to the fpromise type inside.

Use |DriverRuntime::RunToCompletion| to get the result of the task.

Public Methods

void AsyncTask<ResultType> (fpromise::promise<ResultType> promise)

Defined at line 51 of file ../../sdk/lib/driver/testing/cpp/driver_runtime.h

Friends

template <typename ResultType>
class DriverRuntime