@@ -77,7 +77,7 @@ data SourceEnd = SourceEnd
78-- | A `TargetEnd` provides a `receive` function that allows messages
78-- | A `TargetEnd` provides a `receive` function that allows messages
79-- to be received from the corresponding `SourceEnd`s.
79-- to be received from the corresponding `SourceEnd`s.
80−-- The `closeAll` function closes all connections to this target,
80+-- The `closeTargetEnd` function closes all connections to this target,
81-- and all new connections will be refused.
81-- and all new connections will be refused.
82data TargetEnd = TargetEnd
82data TargetEnd = TargetEnd
83 { receive :: IO [ByteString]
83 { receive :: IO [ByteString]