template <typename T>

class ResultAsyncSharder

Defined at line 32 of file ../../src/devices/bin/driver_manager/async_sharder.h

Helper class to make sending out concurrent async requests and making a callback when they have

all finished easier. This variant collects the results from the shards and gives it to the

completion callback in a vector.

Public Methods

void ResultAsyncSharder<T> (size_t count, fit::callback<void (zx::result<std::vector<T>>)> complete_callback)

Defined at line 34 of file ../../src/devices/bin/driver_manager/async_sharder.h

void ~ResultAsyncSharder<T> ()

Defined at line 38 of file ../../src/devices/bin/driver_manager/async_sharder.h

void CompleteShard (T result)

Defined at line 40 of file ../../src/devices/bin/driver_manager/async_sharder.h

void CompleteShardError (zx_status_t status)

Defined at line 48 of file ../../src/devices/bin/driver_manager/async_sharder.h