Struct app_world::WorldWithMessageBuffer [−][src]
pub struct WorldWithMessageBuffer<W: AppWorld> { /* fields omitted */ }
Expand description
Allows us to optionally store sent Msg
’s instead of passing them on to state.
This is useful for testing that an event handler dispatched the Msg
’s that we expected it to.