跳到主要内容
非官方简体中文翻译,内容版权归 Mastra 所有,遵循 Apache-2.0 许可。

Mastra.getDeployer()

The .getDeployer() method is used to retrieve the deployer instance that has been configured in the Mastra instance.

Usage example
Usage example的直接链接

mastra.getDeployer()

Parameters
Parameters的直接链接

This method doesn't accept any parameters.

Returns
Returns的直接链接

deployer:

MastraDeployer | undefined
The configured deployer instance, or undefined if no deployer has been configured.
On this page