Skip to main content

change_channel

Function change_channel 

Source
pub fn change_channel(
    size: usize,
) -> (AddressBookChangeSender, Receiver<AddressBookCall>)
Expand description

Creates an AddressBookChangeSender and the receiving half of its channel, without spawning an updater task.

Used to create stub change senders in tests, and for isolated connections that don’t have an address book.