[−][src]Trait wascc_actor::EventStreams
Interaction with append-only event streams. This API is not yet mature and is missing functionality.
Required methods
fn write_event(
&self,
stream: &str,
values: HashMap<String, String>
) -> Result<String>
&self,
stream: &str,
values: HashMap<String, String>
) -> Result<String>
Writes an event to the stream and, if successful, returns a string containing the new event's unique ID
fn read_all(&self, stream: &str) -> Result<Vec<Event>>
Reads all of the events from a stream