You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that channelRead is the most prominent ChannelInboundHandler method, and that write is the most prominent ChannelOutboundHandler method, it's easy for users to assume that inbound means reads, and outbound means writes. This will cause user confusion when they discover that channelWritabilityChanged is an Inbound method, and that read is an Outbound one!
We should write some narrative docs for these two protocols to make it clear that this is not actually how they work: instead, that inbound/outbound is about causality. Specifically, Inbound events are things the socket tells the pipeline, while Outbound events are things the pipeline tells the socket. From that construction it becomes clear why read is Outbound (the pipeline tells the socket to do a read), and why channelWritabilityChanged is Inbound (the socket tells the pipeline whether it's writable or not).
The text was updated successfully, but these errors were encountered:
Changes made:
Removed CI config for 5.0 ad 5.1
Changed 5.2 to be based on 16.04 so we have some coverage there
Converted Package.swift to the latest syntax
Added a description to supported Swift versions in the README
Given that
channelRead
is the most prominentChannelInboundHandler
method, and thatwrite
is the most prominentChannelOutboundHandler
method, it's easy for users to assume that inbound means reads, and outbound means writes. This will cause user confusion when they discover thatchannelWritabilityChanged
is an Inbound method, and thatread
is an Outbound one!We should write some narrative docs for these two protocols to make it clear that this is not actually how they work: instead, that inbound/outbound is about causality. Specifically, Inbound events are things the socket tells the pipeline, while Outbound events are things the pipeline tells the socket. From that construction it becomes clear why
read
is Outbound (the pipeline tells the socket to do a read), and whychannelWritabilityChanged
is Inbound (the socket tells the pipeline whether it's writable or not).The text was updated successfully, but these errors were encountered: