allocate_local_id

Function allocate_local_id 

Source
pub async fn allocate_local_id(
    user_id: u64,
    graph_id: u128,
    server_url: &str,
    session_id: Option<&str>,
) -> Result<u128>
Expand description

Allocate a node ID locally, requesting a new range from the server proactively if remaining count drops below 3,000.