Skip to content

AIDK API Reference / aidk-nestjs / Execute

Function: Execute() ​

ts
function Execute(root?: Element): CustomDecorator<typeof ROOT_TOKEN>;

Defined in: packages/nestjs/src/decorators/agent.ts:17

Decorator to mark a route handler for execution. The handler should return EngineInput, and the root JSX will be provided via metadata.

Parameters ​

ParameterType
root?Element

Returns ​

CustomDecorator<typeof ROOT_TOKEN>

Released under the MIT License.