vibe.d beta banner
get vibe.d
0.7.31

Function RedisValue.expireAt

Sets the key for expiration at the given point in time.

bool expireAt (
  std.datetime.SysTime expire_time
);

Note that Redis handles timeouts in second resolution, so that any fractional seconds of the given expire_time will be truncated.

Returns

true iff the expiration time was successfully set.

See also

EXPIREAT

Authors

Sönke Ludwig

Copyright

© 2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.