DecoratorBase
Home > @backstage/plugin-search-backend-node
> DecoratorBase
Base class encapsulating simple async transformations. Useful as a base class for Backstage search decorators.
Signature:
abstract class DecoratorBase extends Transform
Extends: Transform
Constructors
Constructor |
Modifiers |
Description |
---|---|---|
Constructs a new instance of the |
Methods
Method |
Modifiers |
Description |
---|---|---|
|
Receives a single indexable document. In your decorate method, you can:
| |
|
Any asynchronous teardown tasks can be performed here. | |
|
Any asynchronous setup tasks can be performed here. |