pub fn new(poll_time: Duration, update_interval: Duration) -> Slot<T> {
        let (sender, receiver) = unbounded::<T>();
        Slot {
            sender,
            receiver: Arc::new(Lock::new(receiver)),
            poll_time,
            update_interval,
            receiver_handle: None,
            thread_lifeline_receiver: None,
            thread_abort_sender: None,
        }
    }
///
///Creates a new Slot of the type T, with the given polling time and update_interval.
///
/// # Arguments
/// * 'poll-time' - the length of time the slot should poll for signals every update interval
/// * 'update-interval' - the length of time the slot should sleep between polling for signals
///
/// # Returns
/// * a new Slot<T>
///
Creates a new Slot of the type T, with the given polling time and update_interval.
Arguments
'poll-time' - the length of time the slot should poll for signals every update interval
'update-interval' - the length of time the slot should sleep between polling for signals

Returns
a new Slot
Creates a new Slot of the type T with the given polling time and update_interval . Arguments ' poll - time ' - the length of time the slot should poll for signals every update interval ' update - interval ' - the length of time the slot should sleep between polling for signals Returns a new Slot
pub fn new(poll_time: Duration, update_interval: Duration) -> Slot<T> {
        let (sender, receiver) = unbounded::<T>();
        Slot {
            sender,
            receiver: Arc::new(Lock::new(receiver)),
            poll_time,
            update_interval,
            receiver_handle: None,
            thread_lifeline_receiver: None,
            thread_abort_sender: None,
        }
    }
pub fn new ( poll_time : Duration , update_interval : Duration ) -> Slot < T > { let ( sender , receiver ) = unbounded :: < T > ( ) ; Slot { sender , receiver : Arc :: new ( Lock :: new ( receiver ) ) , poll_time , update_interval , receiver_handle : None , thread_lifeline_receiver : None , thread_abort_sender : None , } }
Creates a new Slot of the type T, with the given polling time and update_interval.
Creates a new Slot of the type T with the given polling time and update_interval .
poll_time
Duration
update_interval
Duration
poll_time
Duration
update_interval
Duration