(units: number)
| 52 | } from './types' |
| 53 | |
| 54 | function roundSessionUnits(units: number): number { |
| 55 | return Math.round(units * 10) / 10 |
| 56 | } |
| 57 | |
| 58 | function canStartSession(snapshot: FreebuffSessionRateLimit): boolean { |
| 59 | return snapshot.recentCount < snapshot.limit |
no outgoing calls
no test coverage detected