Skip to main content

Mastra.getDeployer()

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

Usage example
Direct link to Usage example

mastra.getDeployer()

Parameters
Direct link to Parameters

This method doesn't accept any parameters.

Returns
Direct link to Returns

deployer:

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