vibe.d beta banner
get vibe.d
0.7.30

Function RedisValue.expire

Sets the key for expiration after the given timeout.

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

Prototype

bool expire(
  core.time.Duration expire_time
);

Returns

true iff the expiration time was successfully set.

See also

EXPIRE

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.