Crate ark_module

source ·
Expand description

Ark module crate

This crate is used at the root level the for building Ark Wasm module binaries. It should not be depended on and used by library crates.

Also see the 🗺️ Ark Developer Guide

Modules

🎁 Applet module
🎵 Audio module
🦹 Behavior module
⌨️ Cmdlet module
🌈 Render module
🕸️ Servlet module

Macros

Implement an applet module
Implement an applet module that can have persistent state
Implement an asynchronous cmdlet module
Implement an audio source module.
By passing a type that implements the BehaviorEntry trait, this macro will hook up and route the behavior module’s raw entry points to the trait methods.
Implement a blocking cmdlet module
Implement a render module.
Implement a servlet module
Implement a servlet module with raw bytes HTTP request & response
Implement a WASI cmdlet module

Structs

Simple single-threaded futures runtime for Wasm

Functions

Initialize the module