Function execute

Source
pub async fn execute<E, C, S>(
    command: C,
    event_store: &mut S,
    config: ExecuteConfig,
) -> Result<(), Error>
where E: Event, C: Command<E> + Clone + Send, S: EventStore + Send,