...
Poll the Module for Sale events
Info |
---|
See Events for the supported event list |
Code Block |
---|
// With timeout in ms
NexoEvent event = retailModule.pollTimeout(1000);
// Non-blocking
NexoEvent event = retailModule.poll();
NexoEventType type = event.GetType();
switch (type) {
case Login:
{...}
[...]
} |
Respond to a previously polled event
...