vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

RedisDatabase.expire - multiple declarations

Function RedisDatabase.expire

Set a key's time to live in seconds

bool expire (
  string key,
  long seconds
) @safe;

Function RedisDatabase.expire

Set a key's time to live with D notation. E.g. 5.minutes for 60 * 5 seconds.

bool expire (
  string key,
  core.time.Duration timeout
) @safe;
Authors

Jan Krüger, Sönke Ludwig, Michael Eisendle, Etienne Cimon

Copyright

© 2012-2016 Sönke Ludwig

License

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