shopify_function_wasm_api 0.3.1

High-level interface for interfacing with the Shopify Function Wasm API
Documentation
1
2
3
4
5
6
7
8
9
use shopify_function_wasm_api::Context;

#[cfg_attr(target_family = "wasm", export_name = "_start")]
fn main() {
    shopify_function_wasm_api::init_panic_handler();
    let mut context = Context::new();
    context.log(&"a".repeat(995));
    context.log(&"b".repeat(10));
}