Skip to main content

CreateBackendFeatureLoaderOptions.loader()

Home > @backstage/backend-plugin-api > CreateBackendFeatureLoaderOptions > loader

Signature:

loader(deps: TDeps): Iterable<BackendFeature | Promise<{
default: BackendFeature;
}>> | Promise<Iterable<BackendFeature | Promise<{
default: BackendFeature;
}>>> | AsyncIterable<BackendFeature | {
default: BackendFeature;
}>;

Parameters

Parameter

Type

Description

deps

TDeps

**Returns:**

Iterable<BackendFeature | Promise<{ default: BackendFeature; }>> | Promise<Iterable<BackendFeature | Promise<{ default: BackendFeature; }>>> | AsyncIterable<BackendFeature | { default: BackendFeature; }>