Skip to main content

Audience

Type Alias Audience 

pub type Audience = Audience<PublicKey>;
Expand description

Who may see a publication.

See [moq_ext_access::Audience].

Aliased Type§

pub enum Audience {
    Granted,
    Peers(Watchable<BTreeSet<PublicKey>>),
}

Variants§

§

Granted

Every session whose grant covers the path, media relays included.

§

Peers(Watchable<BTreeSet<PublicKey>>)

These peers, as the set changes.

Never offered to media relays. The publication holds the set: change it through a clone of the watchable.