kmp-tor
Toggle table of contents
2.2.0
common
Platform filter
common
Switch theme
Search in API
kmp-tor
runtime
/
io.matthewnelson.kmp.tor.runtime
/
TorRuntime
/
Environment
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
Builder
Link copied to clipboard
@
JvmStatic
fun
Builder
(
workDirectory
:
File
,
cacheDirectory
:
File
,
loader
:
(
resourceDir
:
File
)
->
ResourceLoader.Tor
)
:
TorRuntime.Environment
@
JvmStatic
fun
Builder
(
workDirectory
:
File
,
cacheDirectory
:
File
,
loader
:
(
resourceDir
:
File
)
->
ResourceLoader.Tor
,
block
:
ThisBlock
<
TorRuntime.Environment.BuilderScope
>
)
:
TorRuntime.Environment
Opener for creating an
Environment
instance.