Documentation
    Preparing search index...

    Interface MockNzbState

    In-memory state of the nzb mock.

    const state = createMockNzbService().mock.state();
    state.jobs.size === 0;
    interface MockNzbState {
        jobs: Map<string, MockNzbJob>;
        nextJob: number;
        replay: Map<string, NzbReplayRecord>;
        tick?: () => void;
    }
    Index

    Properties

    jobs: Map<string, MockNzbJob>
    nextJob: number
    replay: Map<string, NzbReplayRecord>

    Replay records keyed ${windowId}:${downloaderId}:${operationKey}.

    tick?: () => void