Minsky
anonymous_namespace{addon.cc}::Command Struct Reference
Collaboration diagram for anonymous_namespace{addon.cc}::Command:
Collaboration graph

Public Member Functions

 Command (const Napi::Env &env, const string &command, const json_pack_t &arguments)
 

Public Attributes

PromiseResolverpromiseResolver
 
string command
 
json_pack_t arguments
 

Detailed Description

Definition at line 89 of file addon.cc.

Constructor & Destructor Documentation

◆ Command()

anonymous_namespace{addon.cc}::Command::Command ( const Napi::Env &  env,
const string &  command,
const json_pack_t &  arguments 
)
inline

Definition at line 94 of file addon.cc.

94  :
95  promiseResolver(new PromiseResolver(env)), // ownership passed to JS interpreter
PromiseResolver * promiseResolver
Definition: addon.cc:91

Member Data Documentation

◆ arguments

json_pack_t anonymous_namespace{addon.cc}::Command::arguments

Definition at line 93 of file addon.cc.

◆ command

string anonymous_namespace{addon.cc}::Command::command

Definition at line 92 of file addon.cc.

◆ promiseResolver

PromiseResolver* anonymous_namespace{addon.cc}::Command::promiseResolver

Definition at line 91 of file addon.cc.


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