client.workflows.wait
- Package
@torq-finance/sdk- Signature
client.workflows.wait(requestId, target = 'final_success', options?)
Behavior
Waits for submitted, mined, indexed, persisted-visible, or final-success status, then fails closed if the workflow fails or times out.
See the API Reference for the governed endpoint contract and the workflow guide for canonical completion semantics.