Epok Engine

EPOK RUNTIME

epok::PocketTransactionComponent::poll

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Polls poll as part of the device io module.

Belongs to
epok::PocketTransactionComponent
Header
device_io.hpp
Overloads
1

Declaration

Declaration
bool poll(PocketTransferHandle value,uint32_t microseconds)

Polls poll as part of the device io module.

ParameterTypeMeaning
valuePocketTransferHandleNot documented; consult the linked header.
microsecondsuint32_tNot documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "device_io.hpp"

// Assume these named values have been initialized with valid data:
// PocketTransferHandle value
// uint32_t microseconds

epok::PocketTransactionComponent& object = /* obtain a valid instance */;

auto result = object.poll(value, microseconds);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/device_io.hpp:55

Related members