use_routine_dispatcher 函数
命名空间和模块:tencent.cloud.serverless.functions
最后更新于
这有帮助吗?
这有帮助吗?
from tencent.cloud.serverless import functions
dispatcher = functions.use_routine_dispatcher()
@dispatcher.routine
def addend(
value1: int,
value2: int
) -> int:
return value1 + value2