1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.expireat = expireat;
|
7 | function expireat(key, at) {
|
8 | if (!this.data.has(key)) {
|
9 | return 0;
|
10 | }
|
11 |
|
12 | this.expires.set(key, at * 1000);
|
13 |
|
14 | return 1;
|
15 | } |
\ | No newline at end of file |