Skip to main content

defer

Function defer 

Source
#[doc(hidden)]
pub fn defer(condition: RCondition)
Expand description

Queue an already-built condition payload. Used by the defer_*! macros.

Off R’s main thread the condition goes over the channel, with try_send: the main thread may be joining this one, so a send must never wait. A full channel (or one not open yet) drops it and counts it in DROPPED.