Backstage
    Preparing search index...

    Interface CreateBackendFeatureLoaderOptions<TDeps>

    Options for creating a new backend feature loader.

    interface CreateBackendFeatureLoaderOptions<
        TDeps extends { [name in string]: unknown },
    > {
        deps?: {
            [name in string | number | symbol]: ServiceRef<TDeps[name], "root">
        };
        loader(
            deps: TDeps,
        ):
            | Iterable<
                BackendFeature
                | Promise<{ default: BackendFeature }>,
                any,
                any,
            >
            | Promise<
                Iterable<
                    BackendFeature
                    | Promise<{ default: BackendFeature }>,
                    any,
                    any,
                >,
            >
            | AsyncIterable<BackendFeature | { default: BackendFeature }, any, any>;
    }

    Type Parameters

    • TDeps extends { [name in string]: unknown }
    Index

    Properties

    Methods

    Properties

    deps?: { [name in string | number | symbol]: ServiceRef<TDeps[name], "root"> }

    Methods