Should Keep Draining • AI Agent SDK
should_keep_draining: API reference for DrainTimeoutPolicy.should_keep_draining
should_keep_draining
Method
</div>
This is a method of the DrainTimeoutPolicy class in the protocols module.
Signature
def should_keep_draining() -> DrainDecisionReturns
ResponseField
DrainDecisionThe result of the operation.
Uses
DrainDecision
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 4507