@not3/sdk
    Preparing search index...

    Interface P2PProgress

    The byte based progress of a P2P transfer.

    interface P2PProgress {
        bytesTransferred: number;
        state: P2PState;
        totalBytes: number;
    }
    Index

    Properties

    bytesTransferred: number

    How many bytes have been transferred so far.

    state: P2PState

    The current state of the transfer.

    totalBytes: number

    The total size of the file in bytes.