infiniteDuration

A special $(COREF time,Duration) value used to signify an infinite timeout or time interval in certain contexts.

The places where this value may be used are:

Note: Since core.time.Duration doesn't reserve such a special value, the actual value of infiniteDuration is $(COREF time,Duration.max).

@safe
enum infiniteDuration = Duration.max;

Meta