vibe.d beta banner
get vibe.d
0.10.1

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

Function RedisValue.expire

Sets the key for expiration after the given timeout.

bool expire (
  core.time.Duration expire_time
);

Note that Redis handles timeouts in second resolution, so that the timeout must be at least one second.

Returns

true iff the expiration time was successfully set.

See also

EXPIRE

Authors

Sönke Ludwig

Copyright

© 2014 Sönke Ludwig

License

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