EventReader.tryReadEvent

scoped Event* tryReadEvent(TimeSpan timeout = ZERO, thrown TerminalError error)

Attempts to read the next event within the timeout.

Parameters

TimeSpan
timeout = ZERO
thrown TerminalError
error

Generated with campc 0.11.0-preview.1.