You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable library users to define event schema, consume them in parallel using an easy interface.
Draft
#[derive(RedisTransportValue)]pubenumRoomServiceKind{Clean,ExtraTowels,ExtraPillows,FoodOrder,}/// Define stream model for room service#[derive(StreamModel)]#[redis(key = "room-service")]pubstructRoomServiceStream{status:String,room:usize,kind:RoomServiceKind,}/// Define stream model for FrontOffice events
#[derive(StreamModel)pubenumFrontOfficeStream{GuestCheckIn{
guest_name:String,
room_number:u32,}}/// Redis Stream Provider, items must derive steam model
#[derive(RedisEventProvider)pubenumEvent{RoomService(RoomServiceStream),FrontOffice(FrontOfficeStream)}
The text was updated successfully, but these errors were encountered:
Goal
Enable library users to define event schema, consume them in parallel using an easy interface.
Draft
The text was updated successfully, but these errors were encountered: