agentOS API Reference - v0.0.1
Docs
Preparing search index...
index
CodeProcess
Interface CodeProcess
interface
CodeProcess
{
pid
:
number
;
closeStdin
()
:
Promise
<
void
>
;
kill
(
signal
?:
"SIGTERM"
|
"SIGKILL"
)
:
void
;
wait
()
:
Promise
<
CodeExecutionResult
>
;
writeStdin
(
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
Promise
<
void
>
;
}
Index
Properties
pid
Methods
close
Stdin
kill
wait
write
Stdin
Properties
Readonly
pid
pid
:
number
Methods
close
Stdin
closeStdin
()
:
Promise
<
void
>
Returns
Promise
<
void
>
kill
kill
(
signal
?:
"SIGTERM"
|
"SIGKILL"
)
:
void
Parameters
Optional
signal
:
"SIGTERM"
|
"SIGKILL"
Returns
void
wait
wait
()
:
Promise
<
CodeExecutionResult
>
Returns
Promise
<
CodeExecutionResult
>
write
Stdin
writeStdin
(
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
Promise
<
void
>
Parameters
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
pid
Methods
close
Stdin
kill
wait
write
Stdin
Docs
agentOS API Reference - v0.0.1
Loading...