Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::nodejs::CallbackResults Struct Reference

Helper struct to pass data between C++ worker thread and JS main thread. More...

#include <ts_callback_utils.hpp>

Public Attributes

std::promise< std::optional< std::vector< uint8_t > > > result_promise
 
std::string error_message
 

Detailed Description

Helper struct to pass data between C++ worker thread and JS main thread.

Definition at line 18 of file ts_callback_utils.hpp.

Member Data Documentation

◆ error_message

std::string bb::nodejs::CallbackResults::error_message

Definition at line 20 of file ts_callback_utils.hpp.

◆ result_promise

std::promise<std::optional<std::vector<uint8_t> > > bb::nodejs::CallbackResults::result_promise

Definition at line 19 of file ts_callback_utils.hpp.


The documentation for this struct was generated from the following file: