Expand description
Host interface tools for Momento Functions
This crate helps you write Momento Functions.
Functions use wasm32-wasip2
as the target architecture.
They use the WIT Component Model
to describe the ABI.
You are likely to be interested in the sibling crates:
momento-functions
: Code generators for Functions.momento-functions-log
: Standardlog
adapter.
Modules§
- aws
- Host interfaces for interacting with AWS services
- cache
- Host interfaces for working with Momento Cache apis
- encoding
- Encoding and decoding of byte array payloads
- http
- Host interface utilities for HTTP
- redis
- Host interfaces for working with redis or valkey
- topics
- Host interfaces for working with Momento Topics apis
- web_
extensions - Host interface extensions for Web Functions
Macros§
- build_
environment_ aws_ credentials - Reads AWS credentials from the environment variables
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
at build time.
Functions§
- spawn
- Spawn a fire-and-forget Function.