Buckets:
| import { TimestampProvider } from '../types'; | |
| interface DateTimestampProvider extends TimestampProvider { | |
| delegate: TimestampProvider | undefined; | |
| } | |
| export const dateTimestampProvider: DateTimestampProvider = { | |
| now() { | |
| // Use the variable rather than `this` so that the function can be called | |
| // without being bound to the provider. | |
| return (dateTimestampProvider.delegate || Date).now(); | |
| }, | |
| delegate: undefined, | |
| }; | |
Xet Storage Details
- Size:
- 437 Bytes
- Xet hash:
- 11817fc2d32def459dd9cccfeb1fec3ccc4f44d355748739a65a33c4b7611d2e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.