@Override
 public void signalEvent(EventType eventType, Object eventData) {
   switch (eventType) {
     case CARD_RECOGNIZED:
       result = (ConnectionHandleType) eventData;
       cardAction.deliver(null);
       break;
     case CARD_REMOVED:
       result = (ConnectionHandleType) eventData;
       cardAction.deliver(null);
       break;
   }
 }
 @Override
 public StepActionResult call() throws Exception {
   cardAction.deref();
   cardAction = new Promise<>();
   return new StepActionResult(StepActionResultStatus.REPEAT);
 }