MCPcopy Index your code
hub / github.com/serverless/serverless / getDeploymentState

Method getDeploymentState

packages/engine/src/index.js:264–267  ·  view source on GitHub ↗

* Gets the current deployment state * @returns {Promise } The current deployment state

()

Source from the content-addressed store, hash-verified

262 * @returns {Promise<Object>} The current deployment state
263 */
264 async getDeploymentState() {
265 await this.#state.load()
266 return this.#state.state
267 }
268
269 /**
270 * Runs Serverless Engine Deploy

Callers 2

infoMethod · 0.80
infoMethod · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected