Note that torrent.Reader is not concurrent-safe

This commit is contained in:
Matt Joiner 2023-08-17 18:14:46 +10:00
parent 613470861e
commit de3309319f
No known key found for this signature in database
GPG Key ID: 6B990B8185E7F782
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import (
)
// Accesses Torrent data via a Client. Reads block until the data is available. Seeks and readahead
// also drive Client behaviour.
// also drive Client behaviour. Not safe for concurrent use.
type Reader interface {
io.ReadSeekCloser
missinggo.ReadContexter