compatible.

This commit is contained in:
Rintim 2023-09-17 11:08:53 +08:00
parent ac34ca2689
commit 238cfd8f36
1 changed files with 10 additions and 0 deletions

View File

@ -7270,7 +7270,17 @@
'无名杀 - 录像 - '+_status.videoToSave.name[0]+' - '+_status.videoToSave.name[1]);
}
},
genAsync:fn=>gnc.of(fn),
genAwait:_=>{throw new Error("lib.genAwait is removed!");},
gnc:{
/**
* @deprecated please use `gnc.of`
*/
async:fn=>{
console.log("Deprecated: please use `gnc.of`.");
return gnc.of(fn);
},
await:_=>{throw new Error("lib.gnc.await is removed.");},
of:fn=>gnc.of(fn),
is:{
coroutine:item=>gnc.is.coroutine(item),