StormByte-Buffer 4.0.0
C++26 buffer module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Buffer::IO::MaxWait Class Reference

Origin wait cap. More...

#include <StormByte/buffer/io/parameters.hxx>

Public Member Functions

 MaxWait (const std::chrono::milliseconds value) noexcept
 Store the wait cap.
std::chrono::milliseconds Value () const noexcept
 Wait cap.

Detailed Description

Origin wait cap.

0ms waits without limit.

Constructor & Destructor Documentation

◆ MaxWait()

StormByte::Buffer::IO::MaxWait::MaxWait ( const std::chrono::milliseconds value)
inlineexplicitnoexcept

Store the wait cap.

Parameters
value0ms waits without limit.

Member Function Documentation

◆ Value()

std::chrono::milliseconds StormByte::Buffer::IO::MaxWait::Value ( ) const
inlinenoexcept

Wait cap.

Returns
Duration.

The documentation for this class was generated from the following file: