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

python
def should_keep_draining() -> DrainDecision

Returns

ResponseField DrainDecision

The result of the operation.

Uses

  • DrainDecision

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4507