Interface IProtoInfrastructure
Something the run provides for itself - a database, a broker, a storage emulator. The host starts every registered piece before the run hooks, records it as a run entity, and releases it with the run, so a test suite declares what it needs instead of starting things by hand.
public interface IProtoInfrastructure : IProtoResource
- Inherited Members
- Extension Methods
Methods
StartAsync(CancellationToken)
Starts the piece; a failure must explain what could not start and why.
ValueTask StartAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken