• Home
Show / Hide Table of Contents

Class HystrixTimeoutWrapper

Inheritance
System.Object
HystrixTimeoutWrapper
Implements
IHystrixTimeoutWrapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Hystrix.Dotnet
Assembly: Hystrix.Dotnet.dll
Syntax
public class HystrixTimeoutWrapper : IHystrixTimeoutWrapper

Constructors

| Improve this Doc View Source

HystrixTimeoutWrapper(HystrixCommandIdentifier, IHystrixConfigurationService)

Declaration
public HystrixTimeoutWrapper(HystrixCommandIdentifier commandIdentifier, IHystrixConfigurationService configurationService)
Parameters
Type Name Description
HystrixCommandIdentifier commandIdentifier
IHystrixConfigurationService configurationService

Methods

| Improve this Doc View Source

Execute<T>(Func<T>, CancellationTokenSource)

Declaration
public T Execute<T>(Func<T> primaryFunction, CancellationTokenSource cancellationTokenSource = null)
Parameters
Type Name Description
System.Func<T> primaryFunction
System.Threading.CancellationTokenSource cancellationTokenSource
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

ExecuteAsync<T>(Func<Task<T>>, CancellationTokenSource)

Declaration
public Task<T> ExecuteAsync<T>(Func<Task<T>> primaryTask, CancellationTokenSource cancellationTokenSource = null)
Parameters
Type Name Description
System.Func<System.Threading.Tasks.Task<T>> primaryTask
System.Threading.CancellationTokenSource cancellationTokenSource
Returns
Type Description
System.Threading.Tasks.Task<T>
Type Parameters
Name Description
T

Implements

IHystrixTimeoutWrapper
  • Improve this Doc
  • View Source
Back to top Licensed under MIT by Travix International.
Generated by DocFX.