-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Deck usage requires gathering measurements that only become visible after a certain number of measurements. The Stats object should support this usage. I think the simplest way to do this would that the Stats object should have a windowSize property. Calls to stat updates like incrementCount, addTime, etc. should only update private members _count and _time. count and time properties would only be updated when _count % windowSize === 0.
@Pessimistress this should support the usage you need for Deck without _onMetrics.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels