Interface Dependency<R>

A async Dependency that can be resolved to a value.

interface Dependency<R> {
    [DEPENDENCY]: true;
    (): Promise<R>;
}

Type Parameters

  • R

    The return type of the dependency.

Hierarchy

  • DependencyMarker
    • Dependency

Properties

Properties

[DEPENDENCY]: true