@runno/runtime
Runno
WASI
Articles
Docs
GitHub
Preparing search index...
RuntimeMethods
Type Alias RuntimeMethods
type
RuntimeMethods
=
{
getEditorProgram
:
()
=>
Promise
<
string
>
;
headlessRunCode
:
(
runtime
:
Runtime
,
code
:
string
,
stdin
?:
string
,
)
=>
Promise
<
RunResult
>
;
headlessRunFS
:
(
runtime
:
Runtime
,
entryPath
:
string
,
fs
:
WASIFS
,
stdin
?:
string
,
)
=>
Promise
<
RunResult
>
;
hideControls
:
()
=>
void
;
hideEditor
:
()
=>
void
;
interactiveRunCode
:
(
runtime
:
Runtime
,
code
:
string
)
=>
Promise
<
RunResult
>
;
interactiveRunFS
:
(
runtime
:
Runtime
,
entryPath
:
string
,
fs
:
WASIFS
,
)
=>
Promise
<
RunResult
>
;
interactiveStop
:
()
=>
void
;
setEditorProgram
:
(
syntax
:
Syntax
,
runtime
:
Runtime
,
code
:
string
)
=>
void
;
showControls
:
()
=>
void
;
showEditor
:
()
=>
void
;
}
Implemented by
RunElement
RunnoProvider
Index
Properties
get
Editor
Program
headless
Run
Code
headless
Run
FS
hide
Controls
hide
Editor
interactive
Run
Code
interactive
Run
FS
interactive
Stop
set
Editor
Program
show
Controls
show
Editor
Properties
get
Editor
Program
getEditorProgram
:
()
=>
Promise
<
string
>
headless
Run
Code
headlessRunCode
:
(
runtime
:
Runtime
,
code
:
string
,
stdin
?:
string
,
)
=>
Promise
<
RunResult
>
headless
Run
FS
headlessRunFS
:
(
runtime
:
Runtime
,
entryPath
:
string
,
fs
:
WASIFS
,
stdin
?:
string
,
)
=>
Promise
<
RunResult
>
hide
Controls
hideControls
:
()
=>
void
hide
Editor
hideEditor
:
()
=>
void
interactive
Run
Code
interactiveRunCode
:
(
runtime
:
Runtime
,
code
:
string
)
=>
Promise
<
RunResult
>
interactive
Run
FS
interactiveRunFS
:
(
runtime
:
Runtime
,
entryPath
:
string
,
fs
:
WASIFS
,
)
=>
Promise
<
RunResult
>
interactive
Stop
interactiveStop
:
()
=>
void
set
Editor
Program
setEditorProgram
:
(
syntax
:
Syntax
,
runtime
:
Runtime
,
code
:
string
)
=>
void
show
Controls
showControls
:
()
=>
void
show
Editor
showEditor
:
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
get
Editor
Program
headless
Run
Code
headless
Run
FS
hide
Controls
hide
Editor
interactive
Run
Code
interactive
Run
FS
interactive
Stop
set
Editor
Program
show
Controls
show
Editor
Docs
@runno/wasi
Runno
WASI
Articles
Docs
GitHub
@runno/runtime
Loading...