type Subscription {
    taskProgress(taskID: ID!): Progress
    torrentDownloadUpdates: TorrentProgress
}


type TorrentProgress implements Progress {
    torrent: Torrent!
    current: Int!
    total: Int!
}

interface Progress {
    current: Int!
    total: Int!
}