Lean
$LEAN_TAG$
|
Utilities related to data Subscription More...
Static Public Member Functions | |
static Subscription | Create (SubscriptionRequest request, IEnumerator< BaseData > enumerator, bool dailyStrictEndTimeEnabled) |
Creates a new Subscription which will directly consume the provided enumerator More... | |
static Subscription | CreateAndScheduleWorker (SubscriptionRequest request, IEnumerator< BaseData > enumerator, IFactorFileProvider factorFileProvider, bool enablePriceScale, bool dailyStrictEndTimeEnabled) |
Setups a new Subscription which will consume a blocking EnqueueableEnumerator<T> that will be feed by a worker task More... | |
Utilities related to data Subscription
Definition at line 33 of file SubscriptionUtils.cs.
|
static |
Creates a new Subscription which will directly consume the provided enumerator
request | The subscription data request |
enumerator | The data enumerator stack |
Definition at line 41 of file SubscriptionUtils.cs.
|
static |
Setups a new Subscription which will consume a blocking EnqueueableEnumerator<T> that will be feed by a worker task
request | The subscription data request |
enumerator | The data enumerator stack |
factorFileProvider | The factor file provider |
enablePriceScale | Enables price factoring |
Definition at line 72 of file SubscriptionUtils.cs.