Skip to main content

delivers

Function delivers 

Source
pub fn delivers(
    sender: (&Grants, &EventPolicy),
    receiver: (&Grants, &EventPolicy),
    channel: &str,
) -> bool
Expand description

Whether an event on channel from an extension with sender’s grants and policy reaches one with receiver’s: always between identical grants, since neither gains anything, and otherwise when the sender may send the channel and the receiver may hear it.