public ProducerConsumerCollectionObservableOptions ( System.TimeSpan pollInterval, System.TimeSpan timeout, int boundedCapacity, IScheduler scheduler ) : System |
pollInterval |
System.TimeSpan |
null to disable polling, otherwise interval to poll |
timeout |
System.TimeSpan |
null to complete the sequence if polling is disabled,
/// if polling is enabled, items will be taken from the collection until the TryTake
/// method returns false, if there is a timeout, the timeout is passed to a
/// wrapping the collection |
boundedCapacity |
int |
only used if timeout has a value, indicating
/// the boundedCpacity for the |
scheduler |
IScheduler |
scheduler to schedule the dequeue for each poll if polling is enabled
/// or, to schedule the only an only poll if polling is disabled |
return |
System |
|