@runno/wasi
Runno
WASI
Articles
Docs
GitHub
Preparing search index...
WASIWorkerHost
Class WASIWorkerHost
Index
Constructors
constructor
Properties
binary
URL
context
reject?
result?
stdin
Buffer
worker?
Methods
kill
push
EOF
push
Stdin
start
Constructors
constructor
new
WASIWorkerHost
(
binaryURL
:
string
,
context
:
Partial
)
:
WASIWorkerHost
Parameters
binaryURL
:
string
context
:
Partial
Returns
WASIWorkerHost
Properties
binary
URL
binaryURL
:
string
context
context
:
Partial
Optional
reject
reject
?:
(
reason
?:
unknown
)
=>
void
Optional
result
result
?:
Promise
<
WASIExecutionResult
>
stdin
Buffer
stdinBuffer
:
SharedArrayBuffer
= ...
Optional
worker
worker
?:
Worker
Methods
kill
kill
()
:
void
Returns
void
push
EOF
pushEOF
()
:
Promise
<
void
>
Returns
Promise
<
void
>
push
Stdin
pushStdin
(
data
:
string
)
:
Promise
<
void
>
Parameters
data
:
string
Returns
Promise
<
void
>
start
start
()
:
Promise
<
WASIExecutionResult
>
Returns
Promise
<
WASIExecutionResult
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
binary
URL
context
reject
result
stdin
Buffer
worker
Methods
kill
push
EOF
push
Stdin
start
Docs
@runno/runtime
Runno
WASI
Articles
Docs
GitHub
@runno/wasi
Loading...