<aside> 💡 Come back every Monday for the highlights from the last 7 days!
</aside>
Kicking off strong with the introduction of a Rust SDK, extra documentation and some further works around the dashboard.
use std::{collections::HashMap, env};
use sailhouse::SailhouseClient;
fn main() {
let token = match env::var("SAILHOUSE_TOKEN") {
Ok(value) => value,
Err(error) => {
eprintln!("Failed to read SAILHOUSE_TOKEN: {}", error);
return;
}
};
let client = SailhouseClient::new(token);
let mut data = HashMap::new();
data.insert("message", "Hello world!");
let publish_future = client.publish("example-topic", data);
let _ = tokio::runtime::Runtime::new().unwrap().block_on(publish_future);
}
This week saw a new feature land in beta, alongside some great edge performance boosts!
err := client.Publish(
ctx,
"user-order-review",
data,
// 7 days from now
sailhouse.WithScheduledTime(time.Now().Add(time.Hour * 24 * 7)),
)
Been bringing some improvements to our docs and web application!