Crate embly

Source
Expand description

Embly is a serverless webassembly runtime. It runs small isolated functions. Functions can do a handful of things:

  • Receive bytes
  • Send bytes
  • Spawn a new function

This library is used to access embly functionality from within a program being run by Embly.

Modules§

error
errors
http
Tools for running http embly functions
kv
A simple key value store
prelude
A “prelude” for crates using the embly crate

Structs§

Conn
Connections that handle communication between functions or gateways
Error
The Error type, which can contain any failure.

Functions§

run
Run a Function
run_catch_error
Run a function and panic on error
spawn_and_send
spawn, but then immediately send bytes along afterward
spawn_function
Spawn a Function