@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
22 lines (13 loc) • 542 B
Markdown
# Mastra.getDeployer()
The `.getDeployer()` method is used to retrieve the deployer instance that has been configured in the Mastra instance.
## Usage example
```typescript
mastra.getDeployer()
```
## Parameters
This method doesn't accept any parameters.
## Returns
**deployer** (`MastraDeployer | undefined`): The configured deployer instance, or undefined if no deployer has been configured.
## Related
- [Deployment overview](https://mastra.ai/docs/deployment/overview)
- [Deployer reference](https://mastra.ai/reference/deployer)