Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class DefaultEaCRuntime
implements EaCRuntime<TEaC>
import { DefaultEaCRuntime } from "https://deno.land/x/fathym_eac_runtime@v0.1.54/src/runtime/DefaultEaCRuntime.ts";

Constructors

new
DefaultEaCRuntime(config: EaCRuntimeConfig<TEaC>)

Properties

protected
optional
applicationGraph: Record<string, EaCApplicationProcessorConfig[]>
protected
pluginConfigs: Map<EaCRuntimePlugin<TEaC> | [string, unknown[]], EaCRuntimePluginConfig<TEaC> | undefined>
protected
pluginDefs: Map<EaCRuntimePlugin<TEaC> | [string, unknown[]], EaCRuntimePlugin<TEaC>>
protected
optional
projectGraph: EaCProjectProcessorConfig[]
optional
EaC: TEaC
optional
ModifierResolvers: Record<string, EaCModifierResolverConfiguration>
Revision: number

Methods

protected
buildApplicationGraph(): Promise<void>
protected
buildProjectGraph(): void
protected
configurePlugins(plugins?: EaCRuntimePluginDef<TEaC>[]): Promise<void>
protected
constructPipeline(
application: EaCApplicationAsCode,
modifiers: Record<string, EaCModifierAsCode | null>,
): Promise<EaCRuntimeHandlerPipeline>
protected
finalizePlugins(): Promise<void>
Configure(options?: { configure?: (rt: EaCRuntime<TEaC>) => Promise<void>; }): Promise<void>
Handle(request: Request, info: Deno.ServeHandlerInfo): Promise<Response>