docs: private void onApiReady(Command callback) {
  
          if (isApiLoaded()) {
              callback.execute();
          } else {
              onApiReady.add(callback);
              if (!loadingApi) {
                  loadingApi = true;
                  loadApi();
              }
          }
      }