Module

x/aleph/server/graph.ts>DependencyGraph

The Full-stack Framework in Deno.
Go to Latest
class DependencyGraph
import { DependencyGraph } from "https://dotland.deno.dev/x/aleph@1.0.0-alpha.56/server/graph.ts";

Constructors

new
DependencyGraph(modules?: Module[], globalVersion?: number)

Properties

readonly
globalVersion: number
readonly
modules: Module[]

Methods

get(specifier: string): Module | undefined
lookup(specifier: string, callback: (specifier: string) => void | false)
mark(specifier: string, props: Partial<Module>): Module
shallowWalk(specifier: string, callback: (mod: Module) => void)
unmark(specifier: string)
update(specifier: string)
walk(specifier: string, callback: (mod: Module, importer?: Module) => void)