code: public List<Callback> pendingCallbacks() {
          ObjectNode req = makeRequest("callbacks");
          JsonNode resp = this.runtime.requestResponse(req);
  
          JsonNode callbacksResp = resp.get("callbacks");
          if (callbacksResp == null || !callbacksResp.isArray()) {
              throw new JsiiException("Expecting a 'callbacks' key with an array in response");
          }
  
          ArrayNode callbacksArray = (ArrayNode) callbacksResp;
  
          List<Callback> result = new ArrayList<>();
          callbacksArray.forEach(node -> {
              result.add(JsiiObjectMapper.treeToValue(node, Callback.class));
          });
  
          return result;
      }
docs: Dequques all the currently pending callbacks.
  @return A list of all pending callbacks.