function completeValueimport { completeValue } from "https://dotland.deno.dev/x/pothos@release-1686440053/packages/core/mod.ts"; completeValue<T, R>(valOrPromise: PromiseLike<T> | T,onSuccess: (completedVal: T) => R,onError?: (errVal: unknown) => R,): R | Promise<R>Helper 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) => RReturnsR | Promise<R>