This commit is contained in:
yumoqing 2024-12-04 14:29:34 +08:00
parent 428c6bf8d0
commit 6fd89a00ae

View File

@ -64,6 +64,10 @@ def registerFunction(name, func):
rf = RegisterFunction() rf = RegisterFunction()
rf.register(name, func) rf.register(name, func)
async def rfexe(rfname, *args):
rf = RegisterFunction()
return await rf.exe(rfname, *args)
async def main(): async def main():
d = {} d = {}
rf = RegisterCoroutine() rf = RegisterCoroutine()