WasmComponentTools

JVM Component Model packaging and unbundling helpers.

Add uk.shusek.krwa:component-model-tooling to the runtime classpath before using this facade.

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun componentFromCore(witFileOrDirectory: Path, world: String, coreModule: Path, vararg adapters: Path): ByteArray
fun componentFromCore(witFileOrDirectory: Path, world: String, coreModule: Path, asyncCallback: Boolean, vararg adapters: Path): ByteArray
Link copied to clipboard
fun componentNew(embeddedCoreModule: Path, vararg adapters: Path): ByteArray
Link copied to clipboard
fun embedWit(witFileOrDirectory: Path, world: String, coreModule: Path): ByteArray
fun embedWit(witFileOrDirectory: Path, world: String, coreModule: Path, asyncCallback: Boolean): ByteArray
Link copied to clipboard
Link copied to clipboard
fun validateComponent(component: Path)
fun validateComponent(component: Path, asyncComponentModel: Boolean)
Link copied to clipboard
fun writeComponentFromCore(witFileOrDirectory: Path, world: String, coreModule: Path, outputComponent: Path, validate: Boolean, vararg adapters: Path): Path
fun writeComponentFromCore(witFileOrDirectory: Path, world: String, coreModule: Path, outputComponent: Path, validate: Boolean, asyncCallback: Boolean, vararg adapters: Path): Path