Method DisposeAsync
DisposeAsync()
Tears down the host and everything it built.
public ValueTask DisposeAsync()
Returns
Remarks
Disposes the underlying service provider, which stops the worker and scheduler. Storage is in-memory and goes with it, so each host is an isolated world and tests need no cleanup between them.