code: @ObjectiveCName("findPeersWithType:")
      public Command<List<PeerSearchEntity>> findPeers(PeerSearchType type) {
          return callback -> modules.getSearchModule().findPeers(type)
                  .then(v -> callback.onResult(v))
                  .failure(e -> callback.onError(e));
      }
docs: Finding peers by type
  
  @param type type of peer
  @return found peers