restore

abstract suspend fun restore(agent: UUID): Agent(source)

从持久化恢复 agent 实例,如果内存中已有会直接返回。

Throws