Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AnnouncePeerState

import { AnnouncePeerState } from "https://raw.githubusercontent.com/rclarey/torrent/master/mod.ts";
enum AnnouncePeerState {
seeder = "seeder",
leecher = "leecher",
}

§Members

§
AnnouncePeerState.leecher = "leecher"
[src]

The peer does not have the whole file

§
AnnouncePeerState.seeder = "seeder"
[src]

The peer has the whole file