Mastra.getDeployer()
.getDeployer() 方法用于获取已在 Mastra 实例中配置的部署器实例。
🌐 The .getDeployer() method is used to retrieve the deployer instance that has been configured in the Mastra instance.
使用示例Direct link to 使用示例
🌐 Usage example
mastra.getDeployer();
参数Direct link to 参数
🌐 Parameters
此方法不接受任何参数。
🌐 This method does not accept any parameters.
返回Direct link to 返回
🌐 Returns
deployer:
MastraDeployer | undefined
The configured deployer instance, or undefined if no deployer has been configured.
相关Direct link to 相关
🌐 Related