GitHub

API reference for Writer.

The send side. Writes wait until a reader is open, so a send-only client must still acquire a reader. write_all fails with the first error, without resending.

Attributes

AttributeTypeDescription
writeCallable[[Outgoing], Effect[None, DatagramSocketError]]
write_allCallable[[Sequence[Outgoing]], Effect[None, DatagramSocketError]]

Functions

__init__

__init__(write, write_all) -> None
ParameterTypeDescription
writeCallable[[Outgoing], Effect[None, DatagramSocketError]]
write_allCallable[[Sequence[Outgoing]], Effect[None, DatagramSocketError]]