Schedules a timeout that completes after the given duration.

Synopsis

Declared in <folly/futures/HeapTimekeeper.h>

virtual
SemiFuture<Unit>
after(HighResDuration dur) override;

Return Value

A SemiFuture that completes once the duration has elapsed.

Parameters

Name

Description

dur

The delay after which the returned future completes.

Created with MrDocs