pub async fn sgd_get_links(
        &mut self,
        key: WireLinkKey,
        options: GetLinksOptions,
    ) -> CascadeResult<Vec<Link>> {
        let authority = self.am_i_an_authority(key.base.clone().into()).await?;
        if !authority {
            self.fetch_links(key.clone(), options).await?;
        }
        let query = GetLinksQuery::new(key.base, key.zome_id, key.tag);
        let results = self.cascading(query)?;
        Ok(results)
    }
/// Gets an links from the cas or cache depending on it's metadata
// The default behavior is to skip deleted or replaced entries.
Gets an links from the cas or cache depending on it's metadata
The default behavior is to skip deleted or replaced entries.
Gets an links from the cas or cache depending on it ' s metadata The default behavior is to skip deleted or replaced entries .
pub async fn sgd_get_links(
        &mut self,
        key: WireLinkKey,
        options: GetLinksOptions,
    ) -> CascadeResult<Vec<Link>> {
        let authority = self.am_i_an_authority(key.base.clone().into()).await?;
        if !authority {
            self.fetch_links(key.clone(), options).await?;
        }
        let query = GetLinksQuery::new(key.base, key.zome_id, key.tag);
        let results = self.cascading(query)?;
        Ok(results)
    }
pub async fn sgd_get_links ( & mut self , key : WireLinkKey , options : GetLinksOptions , ) -> CascadeResult < Vec < Link > > { let authority = self . am_i_an_authority ( key . base . clone ( ) . into ( ) ) . await ? ; if ! authority { self . fetch_links ( key . clone ( ) , options ) . await ? ; } let query = GetLinksQuery :: new ( key . base , key . zome_id , key . tag ) ; let results = self . cascading ( query ) ? ; Ok ( results ) }
Gets an links from the cas or cache depending on it's metadata
The default behavior is to skip deleted or replaced entries.
Gets an links from the cas or cache depending on it ' s metadata The default behavior is to skip deleted or replaced entries .
&mut self
key
WireLinkKey
options
GetLinksOptions
&mut self
key
WireLinkKey
options
GetLinksOptions