MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / canStart

Function canStart

Libraries/AsyncStreams/AsyncStreams.h:272–272  ·  view source on GitHub ↗

@brief Returns true when start() is currently valid for this stream

Source from the content-addressed store, hash-verified

270 [[nodiscard]] bool hasBeenDestroyed() const { return destroyed; }
271
272 /// @brief Returns true when start() is currently valid for this stream
273 [[nodiscard]] bool canStart() const { return state == State::CanRead; }
274
275 /// @brief Obtains the AsyncBuffersPool to request more buffers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected