public List getOutputParameterBindings()

in src/main/java/com/microsoft/azure/functions/worker/binding/BindingDataStore.java [107:117]


    public List<ParameterBinding> getOutputParameterBindings(boolean excludeReturn) throws Exception {
        List<ParameterBinding> bindings = new ArrayList<>();
        for (Map.Entry<String, DataTarget> entry : this.getTarget(this.promotedTargets).entrySet()) {
            if (!excludeReturn || !entry.getKey().equals(RETURN_NAME)) {
                entry.getValue().computeFromValue().ifPresent(data ->
                    bindings.add(ParameterBinding.newBuilder().setName(entry.getKey()).setData(data).build())
                );
            }
        }
        return bindings;
    }