agentscope.rpc.rpc_async module
Async related modules.
- class agentscope.rpc.rpc_async.AsyncResult(host: str, port: int, task_id: int | None = None, stub: ~concurrent.futures._base.Future | None = None, retry: ~agentscope.rpc.retry_strategy.RetryBase = <agentscope.rpc.retry_strategy.RetryFixedTimes object>)[source]
Bases:
object
Use this class to get the the async result from rpc server.