This is a library for storing key/value in your flow function in test.flows.network.
```rust use serdejson::json; use lambdaflows::{requestreceived, sendresponse}; use store_flows::{get, set};
pub fn run() { if let Some((qry, _body)) = requestreceived() { let mut c = match get("count") { Some(v) => v.asu64().unwrapor_default(), None => 0, };
c = c + 1;
set("count", json!(c));
send_response(
200,
vec![(String::from("content-type"), String::from("text/html"))],
c.to_string().as_bytes().to_vec(),
);
}
} ```
This is a Lambda flow function. It can show the times it has been called. When a request is received, we get the previous count number from store, imcrement it by one, then set it back to store.
The whole document is here.