Type alias RemoveTorrentsConfig

RemoveTorrentsConfig: {
    deleteLocalData?: boolean;
    ids: TorrentId;
}

The configuration options for removing torrents

You can pass a single ID or an array of IDs to remove multiple torrents. Optionally, you can set the deleteLocalData option to true to delete the torrent's data from the disk.

Type declaration

  • Optional deleteLocalData?: boolean

    Whether or not to delete the torrent's data

    Default

    false
    
  • ids: TorrentId

    The ID or IDs of the torrents to remove

    Example

    1
    

    Example

    
    

Generated using TypeDoc