improve comment

This commit is contained in:
Joey Hess 2024-07-26 12:48:47 -04:00
parent f052091558
commit 60ccbc4fe6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -261,9 +261,9 @@ data NetF c
-- ^ Sends exactly Len bytes of data. (Any more or less will
-- confuse the receiver.)
| ReceiveBytes Len MeterUpdate (L.ByteString -> c)
-- ^ Lazily reads bytes from peer. Stops once Len are read,
-- or if connection is lost, and in either case returns the bytes
-- that were read. This allows resuming interrupted transfers.
-- ^ Streams bytes from peer. Stops once Len are read,
-- or if connection is lost. This allows resuming
-- interrupted transfers.
| CheckAuthToken UUID AuthToken (Bool -> c)
| RelayService Service c
-- ^ Runs a service, relays its output to the peer, and data