Skip to main content

start_heartbeat_loop_handle

Function start_heartbeat_loop_handle 

Source
pub fn start_heartbeat_loop_handle<E>(
    handle: &LockRegistryHandle,
    interval: Duration,
    channel: Arc<E>,
)
where E: EventEmitter + Send + Sync + 'static,
Expand description

Convenience wrapper that accepts a LockRegistryHandle instead of a bare Arc<LockRegistry>.