These are chat archives for RBMHTechnology/eventuate

27th
Dec 2015
Alexander Semenov
@Tvaroh
Dec 27 2015 19:34

@krasserm I'm doing

      persist(event) {
        case Success(_) ⇒
          responder.respond(response) // isn't triggered on the first call to persist
        case Failure(t) ⇒
          logPersistingError(event, t) // isn't triggered on the first call to persist
      }

But for a reason handler is not called on the first call to persist. Starting from the second and on it is called but gets the event from the previous step. I'm using 0.5-SNAPSHOT. What could be the reason for this?

Alexander Semenov
@Tvaroh
Dec 27 2015 19:43
and there is no difference how much time passes between first two calls: handler call N gets event persisted at call N - 1
Alexander Semenov
@Tvaroh
Dec 27 2015 20:09
this is probably due to the fact this code is called asynchronously in onCommand