OptionalaccountShell account availability. Default online.
OptionalautoplayRun advance() every tickMs while work is pending. Default false.
OptionalbatchResults appended per advance() step. Default 3.
OptionalcanWhether save is implemented. Default true.
OptionalclockClock used for timestamps. Default: Date.now.
OptionallatencyArtificial latency (ms) applied before each result. Default 0, which
responds synchronously inside handleMessage.
OptionalmaxOverride maxResults (default 500).
OptionalreadsWhether read disclosure is granted. Default true.
OptionalschedulerScheduler used for deferred pushes. Default: setTimeout.
OptionalseedSeed for deterministic ids and fixture ordering. Default 1.
OptionaltickAutoplay interval in ms. Default 250.
Factory options for the soulseek mock.
Example