@dxos/compute - v0.16.0
    Preparing search index...

    Function processTemplate

    • Parameters

      • template: {
            inputs?: readonly {
                default?: any;
                kind: "value" | "operation";
                name: string;
                operation?: string;
            }[];
            source: Ref<Text & OfKind<Object> & Unknown>;
        }
        • Optional Readonlyinputs?: readonly {
              default?: any;
              kind: "value" | "operation";
              name: string;
              operation?: string;
          }[]

          NOTE: We use an array rather than map so that updating variable names in the template doesn't disconnect existing inputs.

        • Readonlysource: Ref<Text & OfKind<Object> & Unknown>

      Returns Effect<
          string,
          FunctionNotFoundError
          | EntityNotFoundError,
          Service | Operation.Service,
      >