code: public void post(Object event) {
          PostingThreadState postingState = currentPostingThreadState.get();
          List<Object> eventQueue = postingState.eventQueue;
          eventQueue.add(event);
  
          if (!postingState.isPosting) {
              postingState.isMainThread = isMainThread();
              postingState.isPosting = true;
              if (postingState.canceled) {
                  throw new EventBusException("Internal error. Abort state was not reset");
              }
              try {
                  while (!eventQueue.isEmpty()) {
                      postSingleEvent(eventQueue.remove(0), postingState);
                  }
              } finally {
                  postingState.isPosting = false;
                  postingState.isMainThread = false;
              }
          }
      }
docs: Posts the given event to the event bus.