Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
Polls poll as part of the device io module.
bool poll(PocketTransferHandle value,uint32_t microseconds)Polls poll as part of the device io module.
| Parameter | Type | Meaning |
|---|---|---|
value | PocketTransferHandle | Not documented; consult the linked header. |
microseconds | uint32_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#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);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/device_io.hpp:55
beginBegins begin as part of the device io module.Methodbegin_playBegins play as part of the device io module.MethodcancelPerforms `cancel` as part of the device io module.Methodclass_idPerforms `class id` as part of the device io module.Methodclear_requestClears request as part of the device io module.Methodend_playEnds play as part of the device io module.Methodlast_rejectionPerforms `last rejection` as part of the device io module.Methodon_disablePerforms `on disable` as part of the device io module.Methodreply_bytePerforms `reply byte` as part of the device io module.Methodset_request_byteSets request byte as part of the device io module.MethodsnapshotPerforms `snapshot` as part of the device io module.MethodtickPerforms `tick` as part of the device io module.Method