Mark Sent • AI Agent SDK

mark_sent: Mark a message as successfully sent.

mark_sent

Async

Method

</div>

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

Mark a message as successfully sent.

Signature

python
async def mark_sent(key: str) -> bool

Parameters

ParamField str

The entry key returned by enqueue()

Returns

ResponseField bool

True if marked successfully, False if not found

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2058