feat: new experimental ya.async() API (#3422)

This commit is contained in:
三咲雅 misaki masa 2025-12-11 01:10:28 +08:00 committed by GitHub
parent 85a99937a1
commit ac7718c226
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 153 additions and 89 deletions

View file

@ -17,6 +17,10 @@ impl Deref for File {
fn deref(&self) -> &Self::Target { &self.cha }
}
impl From<&File> for File {
fn from(value: &File) -> Self { value.clone() }
}
impl File {
#[inline]
pub fn from_dummy(url: impl Into<UrlBuf>, r#type: Option<ChaType>) -> Self {