mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2025-02-08 03:32:21 +00:00
add comment
This commit is contained in:
parent
4b94af9ea0
commit
f5f455a9fb
1 changed files with 4 additions and 0 deletions
|
@ -146,6 +146,10 @@ where
|
||||||
Object::read_from_id(*id, data).await
|
Object::read_from_id(*id, data).await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Fetch object from origin instance over HTTP, then verify and parse it.
|
||||||
|
///
|
||||||
|
/// Uses Box::pin to wrap futures to reduce stack size and avoid stack overflow when
|
||||||
|
/// when fetching objects recursively.
|
||||||
async fn dereference_from_http(
|
async fn dereference_from_http(
|
||||||
&self,
|
&self,
|
||||||
data: &Data<<Kind as Object>::DataType>,
|
data: &Data<<Kind as Object>::DataType>,
|
||||||
|
|
Loading…
Reference in a new issue