ATAS
|
Allows to use the power of async / await in compatible way with IQueue interface. More...
Classes | |
class | AsyncAwaiterFacade |
Facade for SynchronizationContextAwaiter to allow explicit call of SwitchToQueueThreadAsync() More... | |
class | QueueSynchronizationContext |
Custom synchronization context to forward await continuations to the connector queue. More... | |
struct | SynchronizationContextAwaiter |
Custom awaiter to control continuation execution on the QueueSynchronizationContext More... | |
Public Member Functions | |
AsyncAwaiterFacade | SwitchToQueueThreadAsync () |
QueueAsyncWrap (IQueue queueToWrap) | |
void | Process (IQueueItem item) |
void | ProcessHeartbeat () |
Properties | |
int | QueueThreadId [get] |
Gets the ManagerThreadId of the Queue thread. | |
SynchronizationContext | SynchronizationContext [get] |
TimeSpan | HeartbeatTimeout [get] |
Allows to use the power of async / await in compatible way with IQueue interface.
ATAS.DataFeedsCore.QueueAsyncWrap.QueueAsyncWrap | ( | IQueue | queueToWrap | ) |
void ATAS.DataFeedsCore.QueueAsyncWrap.Process | ( | IQueueItem | item | ) |
void ATAS.DataFeedsCore.QueueAsyncWrap.ProcessHeartbeat | ( | ) |
AsyncAwaiterFacade ATAS.DataFeedsCore.QueueAsyncWrap.SwitchToQueueThreadAsync | ( | ) |
|
get |
|
get |
Gets the ManagerThreadId of the Queue thread.
|
get |