Skip to content

Function: attachStaleResumeRecovery()

attachStaleResumeRecovery(app): void

Finish a chat request when Mastra throws because the workflow is no longer suspended. Duplicate approve/resume and late consumeStream both hit that path; the client already has (or will reload) the completed turn.

Express

void