Skip to main content

take_sent_cap

Function take_sent_cap 

Source
pub fn take_sent_cap(ctx: &ServiceContext) -> Option<Cap>
Expand description

The capability that arrived embedded in the message just received, if any.

Call it directly after the receive that carried it: it reports the LAST receive, so anything in between takes its place. A request/reply server calls this to get the reply capability its client sent (CLAUDE.md 8.2).