Class jac::EventLoopFeature
template <class Next>
ClassList > jac > EventLoopFeature
#include <eventLoopFeature.h>
Inherits the following classes: Next
Public Functions
Type | Name |
---|---|
void | evalModuleWithEventLoop (std::string code, std::string filename) |
void | exit (int code) |
int | getExitCode () |
void | initialize () |
void | kill () |
void | onEventLoop () |
void | runEventLoop () |
virtual void | runOnEventLoop () = 0 |
Protected Attributes
Type | Name |
---|---|
std::optional< Exception > | _error = std::nullopt |
Protected Functions
Type | Name |
---|---|
void | evalWithEventLoopCommon (Value & promise) |
Detailed Description
Note:
The EventLoopFeature must be companied by EventLoopTerminal at the top of the Machine stack.
Public Functions Documentation
function evalModuleWithEventLoop
inline void jac::EventLoopFeature::evalModuleWithEventLoop (
std::string code,
std::string filename
)
function exit
function getExitCode
function initialize
function kill
function onEventLoop
function runEventLoop
function runOnEventLoop
Protected Attributes Documentation
variable _error
Protected Functions Documentation
function evalWithEventLoopCommon
The documentation for this class was generated from the following file src/jac/features/eventLoopFeature.h