Class PollingVStream
java.lang.Object
com.stuypulse.stuylib.streams.vectors.PollingVStream
A PollingVStream is a VStream but its .get() method is called for you at a certain rate. This
contains race conditions.
-
Constructor Details
-
PollingVStream
Creates a PollingVStream from an VStream and a time value- Parameters:
stream
- VStream to poll fromdt
- time inbetween each poll
-
-
Method Details