Stone.js API
    Preparing search index...

    Interface WorkerRunOptions

    Options for running the Worker.

    interface WorkerRunOptions {
        connection?: string;
        queues?: string[];
        sleep?: number;
    }
    Index
    connection?: string

    The connection to consume from (defaults to the manager's default).

    queues?: string[]

    The queues to consume, in priority order (defaults to ['default']).

    sleep?: number

    Milliseconds to sleep when every queue is empty (defaults to 1000).