@runno/runtime
Runno
WASI
Articles
Docs
GitHub
Preparing search index...
RunnoProvider
Class RunnoProvider
Implements
RuntimeMethods
Index
Constructors
constructor
Properties
controls?
editor
terminal
Methods
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
Constructors
constructor
new
RunnoProvider
(
terminal
:
TerminalElement
,
editor
:
EditorElement
,
controls
?:
ControlsElement
,
)
:
RunnoProvider
Parameters
terminal
:
TerminalElement
editor
:
EditorElement
Optional
controls
:
ControlsElement
Returns
RunnoProvider
Properties
Optional
controls
controls
?:
ControlsElement
editor
editor
:
EditorElement
terminal
terminal
:
TerminalElement
Methods
get
Editor
Program
getEditorProgram
()
:
Promise
<
string
>
Returns
Promise
<
string
>
headless
Run
Code
headlessRunCode
(
runtime
:
Runtime
,
code
:
string
,
stdin
?:
string
,
)
:
Promise
<
RunResult
>
Parameters
runtime
:
Runtime
code
:
string
Optional
stdin
:
string
Returns
Promise
<
RunResult
>
headless
Run
FS
headlessRunFS
(
runtime
:
Runtime
,
entryPath
:
string
,
fs
:
WASIFS
,
stdin
?:
string
,
)
:
Promise
<
RunResult
>
Parameters
runtime
:
Runtime
entryPath
:
string
fs
:
WASIFS
Optional
stdin
:
string
Returns
Promise
<
RunResult
>
hide
Controls
hideControls
()
:
void
Returns
void
hide
Editor
hideEditor
()
:
void
Returns
void
interactive
Run
Code
interactiveRunCode
(
runtime
:
Runtime
,
code
:
string
)
:
Promise
<
RunResult
>
Parameters
runtime
:
Runtime
code
:
string
Returns
Promise
<
RunResult
>
interactive
Run
FS
interactiveRunFS
(
runtime
:
Runtime
,
entryPath
:
string
,
fs
:
WASIFS
,
)
:
Promise
<
RunResult
>
Parameters
runtime
:
Runtime
entryPath
:
string
fs
:
WASIFS
Returns
Promise
<
RunResult
>
interactive
Stop
interactiveStop
()
:
void
Returns
void
set
Editor
Program
setEditorProgram
(
syntax
:
Syntax
,
runtime
:
Runtime
,
code
:
string
)
:
void
Parameters
syntax
:
Syntax
runtime
:
Runtime
code
:
string
Returns
void
show
Controls
showControls
()
:
void
Returns
void
show
Editor
showEditor
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
controls
editor
terminal
Methods
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...