Create the guard using the specified basicAllocator to supply memory. failByAbort is used when a set duration expires.
basicAllocator
failByAbort
Declared in <bslmt_timedcompletionguard.h>
<bslmt_timedcompletionguard.h>
explicit TimedCompletionGuard(allocator_type const& basicAllocator);