![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PromiseFuturePair.h>
Public Member Functions | |
PromiseFuturePair () | |
void | setValue () |
bool | waitFor (std::chrono::milliseconds timeout) |
Template to pair a promise and it's future with Void values.
|
inline |
Constructor
|
inline |
Set the value in promise.
|
inline |
Wait for promise to be set.
timeout | Timeout for waiting for promise to be set. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0