[][src]Crate embly

Embly is a lightweight application 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 it is intended to only be built with wasm32-wasi but compilation should work with other targets

Modules

error

errors

http

Tools for running http embly functions

Structs

Conn

Connections that handle communication between functions or gateways

Traits

Future

Future is an embly future. It is intended that this future will implement similar functionality to rust futures. Currently the embly future has quite a different implementation, but it is likely that in the future embly will switch to using regular rust futures and provide an embly-specific runtime for those futures.

Functions

run

Run a Function

spawn_function

Spawn a Function