StormByte-Buffer 2.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

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

Detailed Description

Origin wait cap.

0ms waits without limit.

Constructor & Destructor Documentation

◆ MaxWait()

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

Store the wait cap.

Parameters
value0ms waits without limit.

Member Function Documentation

◆ Value()

STORMBYTE_FORCE_INLINE 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: