Skip to main content

grant

Function grant 

pub fn grant(layout: &impl Layout<PublicKey>, peer: PublicKey) -> Grant
Expand description

Returns the grant a node gives peer under layout.

The peer may subscribe to anything, and publish only under its scope in layout.