mirascope.core.base.merge_decorators
Function merge_decorators
Combines multiple decorators into a single decorator factory.
This function allows you to merge multiple decorators into a single decorator factory. The decorators are applied in the order they are passed to the function. All function metadata (e.g. docstrings, function name) is preserved through the decoration chain.
Parameters
Returns
| Type | Description |
|---|---|
| () => (() => _R) => () => _WR | A decorator factory function that applies all decorators in the specified order. |