hold • AI Agent SDK

hold: API reference for LocalTurnLock.hold

hold

Method

</div>

This is a method of the LocalTurnLock class in the protocols module.

Signature

python
def hold(key: str) -> 'AbstractAsyncContextManager[TurnLeaseToken]'

Parameters

ParamField str

No description available.

Returns

ResponseField 'AbstractAsyncContextManager[TurnLeaseToken]'

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 7459