Protected Readonly initState will be flushed when it reaches this number of items.
Protected lengthMethod that will be called when state is flushed.
Protected Readonly reducerProtected stateState will be flushed after this many milliseconds.
Private timer
TimedState works similar to TimedQueue, but instead of saving a list of all items pushed, it reduces the state on each push.