Documentation
    Preparing search index...

    Type Alias MockTorrentService

    MockTorrentService: MockService<MockTorrentState> & {
        advance(steps?: number): void;
    }

    The torrent mock service type.

    Type Declaration

    • advance: function
      • Advance every active job by steps engine steps, pushing progress, state changes, and errors to the owning windows.

        Parameters

        • Optionalsteps: number

          Steps to run. Default 1.

        Returns void

    createMockTorrentService().advance(5);