달빛약속 / Runtime
Class: Runtime
Constructors
new Runtime()
new Runtime(
codeTexts
,config
):Runtime
Parameters
codeTexts
Record
<string
, string
>
config
Partial
<RuntimeConfig
>
Returns
Defined in
Properties
entryPoint
entryPoint:
string
Defined in
flags
flags:
Partial
<Partial
<Record
<FUTURE_FUNCTION_INVOKE_SYNTAX
,boolean
>>> ={}
Defined in
runFFI()
runFFI: (
runtime
,code
,args
) =>ValueType
|Promise
<ValueType
>
Parameters
runtime
string
code
string
args
Returns
ValueType
| Promise
<ValueType
>
Defined in
stderr()
stderr: (
message
) =>void
Parameters
message
string
Returns
void
Defined in
stdout()
stdout: (
message
) =>void
Parameters
message
string
Returns
void
Defined in
Methods
getCodeFile()
getCodeFile(
fileName
):CodeFile
Parameters
fileName
string
= ...
Returns
Defined in
run()
run(
fileName
):Promise
<ExecuteResult
<Block
>>
Parameters
fileName
string
= ...
Returns
Promise
<ExecuteResult
<Block
>>