pub fn new(buffer_sizes: &EventsPoolCapacity) -> Self {
        Self {
            network_requests: mpsc::channel(buffer_sizes.network_requests_capacity),
            internal_requests: mpsc::channel(buffer_sizes.internal_events_capacity),
            endpoints: mpsc::channel(buffer_sizes.internal_events_capacity),
            transactions: mpsc::channel(buffer_sizes.api_requests_capacity),
            api_requests: mpsc::channel(buffer_sizes.api_requests_capacity),
            network_events: mpsc::channel(buffer_sizes.network_events_capacity),
            internal_events: mpsc::channel(buffer_sizes.internal_events_capacity),
        }
    }
/// Creates `NodeChannel` with the given pool capacities.
Creates `NodeChannel` with the given pool capacities.
Creates ` NodeChannel ` with the given pool capacities .
pub fn new(buffer_sizes: &EventsPoolCapacity) -> Self {
        Self {
            network_requests: mpsc::channel(buffer_sizes.network_requests_capacity),
            internal_requests: mpsc::channel(buffer_sizes.internal_events_capacity),
            endpoints: mpsc::channel(buffer_sizes.internal_events_capacity),
            transactions: mpsc::channel(buffer_sizes.api_requests_capacity),
            api_requests: mpsc::channel(buffer_sizes.api_requests_capacity),
            network_events: mpsc::channel(buffer_sizes.network_events_capacity),
            internal_events: mpsc::channel(buffer_sizes.internal_events_capacity),
        }
    }
pub fn new ( buffer_sizes : & EventsPoolCapacity ) -> Self { Self { network_requests : mpsc :: channel ( buffer_sizes . network_requests_capacity ) , internal_requests : mpsc :: channel ( buffer_sizes . internal_events_capacity ) , endpoints : mpsc :: channel ( buffer_sizes . internal_events_capacity ) , transactions : mpsc :: channel ( buffer_sizes . api_requests_capacity ) , api_requests : mpsc :: channel ( buffer_sizes . api_requests_capacity ) , network_events : mpsc :: channel ( buffer_sizes . network_events_capacity ) , internal_events : mpsc :: channel ( buffer_sizes . internal_events_capacity ) , } }
Creates `NodeChannel` with the given pool capacities.
Creates ` NodeChannel ` with the given pool capacities .
buffer_sizes
&EventsPoolCapacity
buffer_sizes
&EventsPoolCapacity