diff --git a/transport/reader.go b/transport/reader.go index 3b3bd56..b481330 100644 --- a/transport/reader.go +++ b/transport/reader.go @@ -7,5 +7,7 @@ package transport type Reader interface { // Read a message from a channel. // Read may block until a message is ready or an error occured. + // + // This function should be designed to handle concurrent calls. eg. thread safe. Read(channel Channel) ([]byte, error) }