code: private void addStepInvoker(StepInvoker stepInvoker) {
          if ( connected.get() ) {
              throw new ChorusException("You cannot add more steps once the WebSocketStepPublisher is connected");
          }
          stepInvokers.put(stepInvoker.getId(), stepInvoker);
      }
docs: Add a step to be published