CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ccf::js::core::Runtime Class Reference

#include <runtime.h>

Public Member Functions

 Runtime ()
 
 ~Runtime ()
 
 operator JSRuntime * () const
 
void reset_runtime_options ()
 
void set_runtime_options (const std::optional< ccf::JSRuntimeOptions > &options_opt, RuntimeLimitsPolicy policy)
 
std::chrono::milliseconds get_max_exec_time () const
 

Public Attributes

bool log_exception_details
 
bool return_exception_details
 

Constructor & Destructor Documentation

◆ Runtime()

ccf::js::core::Runtime::Runtime ( )

◆ ~Runtime()

ccf::js::core::Runtime::~Runtime ( )

Member Function Documentation

◆ get_max_exec_time()

std::chrono::milliseconds ccf::js::core::Runtime::get_max_exec_time ( ) const
inline

◆ operator JSRuntime *()

ccf::js::core::Runtime::operator JSRuntime * ( ) const
inline

◆ reset_runtime_options()

void ccf::js::core::Runtime::reset_runtime_options ( )

◆ set_runtime_options()

void ccf::js::core::Runtime::set_runtime_options ( const std::optional< ccf::JSRuntimeOptions > &  options_opt,
RuntimeLimitsPolicy  policy 
)

Member Data Documentation

◆ log_exception_details

bool ccf::js::core::Runtime::log_exception_details
Initial value:

◆ return_exception_details

bool ccf::js::core::Runtime::return_exception_details
Initial value:

The documentation for this class was generated from the following files: