Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/engine/core/mod.ts>ReleaseResolver

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
class ReleaseResolver
import { ReleaseResolver } from "https://deno.land/x/blocks@1.28.0-beta.4/engine/core/mod.ts";

Constructors

new
ReleaseResolver(
hints?: ResolveHints,
oncePerRelease?: Record<string, SyncOnce<any>>,
)

Type Parameters

optional
TContext extends BaseContext = BaseContext

Properties

private
resolveHints: ResolveHints
protected
optional
danglingRecover: Resolver
protected
release: Release
protected
optional
resolvables: ResolvableMap
protected
resolvers: ResolverMap<TContext>
protected
runOncePerRelease: Record<string, SyncOnce<any>>
clone: () => unknown
extend: (unnamed 0: ExtensionOptions<TContext>) => unknown
resolve: <T = any>(
typeOrResolvable: string | Resolvable<T>,
context: Omit<TContext, keyof BaseContext>,
options?: ResolveOptions,
) => Promise<T>
resolverFor: (context: Omit<TContext, keyof BaseContext>, options?: ResolveOptions) => unknown
with: (unnamed 0: { resolvers: ResolverMap<TContext>; resolvables?: ResolvableMap; }) => unknown