[][src]Function eventmill::event::wrap_events

pub fn wrap_events<'a, E, A>(
    current_sequence: &'a mut Sequence,
    events: impl IntoIterator<Item = NewEvent<E, A>> + 'a
) -> impl Iterator<Item = DomainEvent<E, A>> + 'a where
    A: WithAggregateId