This crate provides an abstraction over the wasmcloud:eventstreams
contract. This allows
actors to write immutable events to a stream, receive events from a stream,
and query events from a stream.
```rust extern crate wasmcloudactoreventstreams as streams; use wapc_guest::HandlerResult; use streams::StreamQuery; use std::collections::HashMap;
pub fn wapcinit() { streams::Handlers::registerdeliverevent(deliverevent); wasmcloudactor)core::Handlers::registerhealth_request(health); }
fn deliverevent(event: streams::Event) -> HandlerResult
});
let _eid = streams::default().writeevent("hellostreams".tostring(),
HashMap::new());
Ok(true)
}
```