Shaka Player Embedded
|
#include <js_object_wrapper.h>
Public Types | |
using | variant_type = typename AsyncResults< Ret >::variant_type |
using | future_type = std::shared_future< variant_type > |
Static Public Member Functions | |
static variant_type | Convert (const std::string &name, Handle< JsValue > result) |
A helper that converts a JavaScript value into the given return type as a variant. If the return type is |void|, this ignores the value.
Definition at line 57 of file js_object_wrapper.h.
using shaka::JsObjectWrapper::Converter< Ret, typename >::future_type = std::shared_future<variant_type> |
Definition at line 59 of file js_object_wrapper.h.
using shaka::JsObjectWrapper::Converter< Ret, typename >::variant_type = typename AsyncResults<Ret>::variant_type |
Definition at line 58 of file js_object_wrapper.h.
|
inlinestatic |
Definition at line 61 of file js_object_wrapper.h.