Interface IHostableAgent
Represents an agent that can be explicitly hosted and closed when the runtime shuts down.
public interface IHostableAgent : IAgent, ISaveState
- Inherited Members
Methods
CloseAsync()
Called when the runtime is closing.
ValueTask CloseAsync()
Returns
- ValueTask
A task representing the asynchronous operation.