Buckets:
| let errorOnce = (_: string) => {} | |
| if (process.env.NODE_ENV !== 'production') { | |
| const errors = new Set<string>() | |
| errorOnce = (msg: string) => { | |
| if (!errors.has(msg)) { | |
| console.error(msg) | |
| } | |
| errors.add(msg) | |
| } | |
| } | |
| export { errorOnce } | |
Xet Storage Details
- Size:
- 254 Bytes
- Xet hash:
- 2c58efb44e96d6572277b7ced7161c623c0f8a429bef9b1edd26516c43426f00
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.