structured_io v1.5.0 StructuredIO.Enumerator.Behaviour behaviour View Source
Defines a behavioral contract that is satisfied by StructuredIO.Enumerator
.
Link to this section Summary
Callbacks
Sets a timeout for the specified StructuredIO.Enumerator
. This value is passed
in each call to the StructuredIO.read*
function
Link to this section Callbacks
Link to this callback
timeout(enumerator, timeout)
View Source
timeout(enumerator :: StructuredIO.Enumerator.t(), timeout :: timeout() | nil) :: StructuredIO.Enumerator.t()
Sets a timeout for the specified StructuredIO.Enumerator
. This value is passed
in each call to the StructuredIO.read*
function.