code: private static void apiReady() {
  
          loadingApi = false;
          for (Command callback : onApiReady) {
              callback.execute();
          }
          onApiReady.clear();
      }
docs: Called once the API is loaded.<p>