GetHealthCheckTargetAsync Method
Definition
- Namespace
- Savvyio.Diagnostics
- Assemblies
- Savvyio.Core.dll
GetHealthCheckTargetAsync(CancellationToken)
Asynchronously gets the underlying target used for probing health status.
Task<T> GetHealthCheckTargetAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenA CancellationToken that can be used to cancel the asynchronous operation.
Returns
- Task<T>
A task that represents the asynchronous operation. The task result contains the target instance of type
Tused for health probing.