Lean  $LEAN_TAG$
QuantConnect.Lean.Engine.DataFeeds.ISubscriptionSynchronizer Interface Reference

Provides the ability to synchronize subscriptions into time slices More...

Inheritance diagram for QuantConnect.Lean.Engine.DataFeeds.ISubscriptionSynchronizer:
[legend]

Public Member Functions

IEnumerable< TimeSliceSync (IEnumerable< Subscription > subscriptions, CancellationToken cancellationToken)
 Syncs the specified subscriptions. The frontier time used for synchronization is managed internally and dependent upon previous synchronization operations. More...
 

Events

EventHandler< SubscriptionSubscriptionFinished
 Event fired when a subscription is finished More...
 

Detailed Description

Provides the ability to synchronize subscriptions into time slices

Definition at line 26 of file ISubscriptionSynchronizer.cs.

Member Function Documentation

◆ Sync()

IEnumerable<TimeSlice> QuantConnect.Lean.Engine.DataFeeds.ISubscriptionSynchronizer.Sync ( IEnumerable< Subscription subscriptions,
CancellationToken  cancellationToken 
)

Syncs the specified subscriptions. The frontier time used for synchronization is managed internally and dependent upon previous synchronization operations.

Parameters
subscriptionsThe subscriptions to sync
cancellationTokenThe cancellation token to stop enumeration

Implemented in QuantConnect.Lean.Engine.DataFeeds.SubscriptionSynchronizer.

Event Documentation

◆ SubscriptionFinished

EventHandler<Subscription> QuantConnect.Lean.Engine.DataFeeds.ISubscriptionSynchronizer.SubscriptionFinished

Event fired when a subscription is finished

Definition at line 31 of file ISubscriptionSynchronizer.cs.


The documentation for this interface was generated from the following file: