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

block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License