code: public void loadContentRepository() {
          resetContext();
  
          Scheduler.get().scheduleDeferred(() -> new Async<FunctionContext>().single(new FunctionContext(),
                  new Outcome<FunctionContext>() {
                      @Override
                      public void onFailure(final FunctionContext context) {
                          Console.error(Console.CONSTANTS.unableToFindDeployments(), context.getErrorMessage());
                      }
  
                      @Override
                      public void onSuccess(final FunctionContext context) {
                          List<Content> contentRepository = context.pop();
                          getView().updateContentRepository(contentRepository);
                      }
                  },
                  new DeploymentFunctions.LoadContentAssignments(dispatcher)
          ));
      }
docs: ------------------------------------------------------ content methods