function completeValueimport { completeValue } from "https://dotland.deno.dev/x/pothos@release-1726524975/packages/core/index.ts"; completeValue<T, R>(valOrPromise: PromiseLike<T> | T,onSuccess: (completedVal: T) => R,onError?: (errVal: unknown) => R,): Promise<R> | RHelper for allowing plugins to fulfill the return of the next resolver, without paying the cost of the Promise if not required. Type ParametersTRParametersvalOrPromise: PromiseLike<T> | TonSuccess: (completedVal: T) => RoptionalonError: (errVal: unknown) => RReturnsPromise<R> | R