Table of Contents

Class ThreadSwitcherToNewTask<T>

Namespace
Lykke.Common
Assembly
Lykke.Common.dll
public class ThreadSwitcherToNewTask<T> : IThreadSwitcher<T>

Type Parameters

T
Inheritance
ThreadSwitcherToNewTask<T>
Implements
Inherited Members
Extension Methods

Constructors

ThreadSwitcherToNewTask(ILog)

[Obsolete]
public ThreadSwitcherToNewTask(ILog log)

Parameters

log ILog

ThreadSwitcherToNewTask(ILogFactory)

public ThreadSwitcherToNewTask(ILogFactory logFactory)

Parameters

logFactory ILogFactory

Methods

SwitchThread(Func<T, Task>, T)

public void SwitchThread(Func<T, Task> otherThread, T data)

Parameters

otherThread Func<T, Task>
data T