krwa
Toggle table of contents
0.3.0-rc.9
common
ios
jvm
wasmJs
Target filter
common
ios
jvm
wasmJs
Switch theme
Search in API
Skip to content
krwa
wasi
/
uk.shusek.krwa.wasi
/
WasiOptions
/
Builder
Builder
common
ios
jvm
wasmJs
expect
class
Builder
actual
class
Builder
actual
class
Builder
actual
class
Builder
Members
Constructors
Builder
Link copied to clipboard
ios
jvm
wasmJs
constructor
(
)
constructor
(
)
constructor
(
)
Functions
build
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
build
(
)
:
WasiOptions
actual
fun
build
(
)
:
WasiOptions
actual
fun
build
(
)
:
WasiOptions
actual
fun
build
(
)
:
WasiOptions
inherit
System
Link copied to clipboard
jvm
fun
inheritSystem
(
)
:
WasiOptions.Builder
with
Arguments
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withArguments
(
arguments
:
List
<
String
>
)
:
WasiOptions.Builder
actual
fun
withArguments
(
arguments
:
List
<
String
>
)
:
WasiOptions.Builder
actual
fun
withArguments
(
arguments
:
List
<
String
>
)
:
WasiOptions.Builder
actual
fun
withArguments
(
arguments
:
List
<
String
>
)
:
WasiOptions.Builder
with
Clock
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withClock
(
clock
:
Clock
)
:
WasiOptions.Builder
actual
fun
withClock
(
clock
:
Clock
)
:
WasiOptions.Builder
actual
fun
withClock
(
clock
:
Clock
)
:
WasiOptions.Builder
actual
fun
withClock
(
clock
:
Clock
)
:
WasiOptions.Builder
with
Directory
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withDirectory
(
guest
:
String
,
host
:
Path
)
:
WasiOptions.Builder
expect
fun
withDirectory
(
guest
:
String
,
host
:
Path
,
fileSystem
:
FileSystem
)
:
WasiOptions.Builder
actual
fun
withDirectory
(
guest
:
String
,
host
:
Path
)
:
WasiOptions.Builder
actual
fun
withDirectory
(
guest
:
String
,
host
:
Path
,
fileSystem
:
FileSystem
)
:
WasiOptions.Builder
fun
withDirectory
(
guest
:
String
,
host
:
Path
)
:
WasiOptions.Builder
actual
fun
withDirectory
(
guest
:
String
,
host
:
Path
)
:
WasiOptions.Builder
actual
fun
withDirectory
(
guest
:
String
,
host
:
Path
,
fileSystem
:
FileSystem
)
:
WasiOptions.Builder
actual
fun
withDirectory
(
guest
:
String
,
host
:
Path
)
:
WasiOptions.Builder
actual
fun
withDirectory
(
guest
:
String
,
host
:
Path
,
fileSystem
:
FileSystem
)
:
WasiOptions.Builder
with
Environment
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withEnvironment
(
name
:
String
,
value
:
String
)
:
WasiOptions.Builder
actual
fun
withEnvironment
(
name
:
String
,
value
:
String
)
:
WasiOptions.Builder
actual
fun
withEnvironment
(
name
:
String
,
value
:
String
)
:
WasiOptions.Builder
actual
fun
withEnvironment
(
name
:
String
,
value
:
String
)
:
WasiOptions.Builder
with
Random
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withRandom
(
random
:
Random
)
:
WasiOptions.Builder
expect
fun
withRandom
(
random
:
CryptoRand
)
:
WasiOptions.Builder
actual
fun
withRandom
(
random
:
Random
)
:
WasiOptions.Builder
actual
fun
withRandom
(
random
:
CryptoRand
)
:
WasiOptions.Builder
fun
withRandom
(
random
:
Random
)
:
WasiOptions.Builder
actual
fun
withRandom
(
random
:
Random
)
:
WasiOptions.Builder
actual
fun
withRandom
(
random
:
CryptoRand
)
:
WasiOptions.Builder
actual
fun
withRandom
(
random
:
Random
)
:
WasiOptions.Builder
actual
fun
withRandom
(
random
:
CryptoRand
)
:
WasiOptions.Builder
with
Stderr
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withStderr
(
stderr
:
RawSink
)
:
WasiOptions.Builder
expect
fun
withStderr
(
stderr
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStderr
(
stderr
:
RawSink
)
:
WasiOptions.Builder
actual
fun
withStderr
(
stderr
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
fun
withStderr
(
stderr
:
OutputStream
)
:
WasiOptions.Builder
actual
fun
withStderr
(
stderr
:
RawSink
)
:
WasiOptions.Builder
fun
withStderr
(
stderr
:
OutputStream
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStderr
(
stderr
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStderr
(
stderr
:
RawSink
)
:
WasiOptions.Builder
actual
fun
withStderr
(
stderr
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
with
Stdin
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withStdin
(
stdin
:
RawSource
)
:
WasiOptions.Builder
expect
fun
withStdin
(
stdin
:
RawSource
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStdin
(
stdin
:
RawSource
)
:
WasiOptions.Builder
actual
fun
withStdin
(
stdin
:
RawSource
,
isTty
:
Boolean
)
:
WasiOptions.Builder
fun
withStdin
(
stdin
:
InputStream
)
:
WasiOptions.Builder
actual
fun
withStdin
(
stdin
:
RawSource
)
:
WasiOptions.Builder
fun
withStdin
(
stdin
:
InputStream
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStdin
(
stdin
:
RawSource
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStdin
(
stdin
:
RawSource
)
:
WasiOptions.Builder
actual
fun
withStdin
(
stdin
:
RawSource
,
isTty
:
Boolean
)
:
WasiOptions.Builder
with
Stdout
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withStdout
(
stdout
:
RawSink
)
:
WasiOptions.Builder
expect
fun
withStdout
(
stdout
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStdout
(
stdout
:
RawSink
)
:
WasiOptions.Builder
actual
fun
withStdout
(
stdout
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
fun
withStdout
(
stdout
:
OutputStream
)
:
WasiOptions.Builder
actual
fun
withStdout
(
stdout
:
RawSink
)
:
WasiOptions.Builder
fun
withStdout
(
stdout
:
OutputStream
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStdout
(
stdout
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withStdout
(
stdout
:
RawSink
)
:
WasiOptions.Builder
actual
fun
withStdout
(
stdout
:
RawSink
,
isTty
:
Boolean
)
:
WasiOptions.Builder
with
Throw
On
Exit0
Link copied to clipboard
common
ios
jvm
wasmJs
expect
fun
withThrowOnExit0
(
throwOnExit0
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withThrowOnExit0
(
throwOnExit0
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withThrowOnExit0
(
throwOnExit0
:
Boolean
)
:
WasiOptions.Builder
actual
fun
withThrowOnExit0
(
throwOnExit0
:
Boolean
)
:
WasiOptions.Builder