prorm API Reference
    Preparing search index...

    Interface ResqueStoreOptions

    Connection options for ResqueStore.

    interface ResqueStoreOptions {
        connection?: any;
        client?: any;
    }
    Index
    connection?: any

    node-resque connection descriptor, e.g. { pkg: 'ioredis', host, port, database }. Defaults to { host: '127.0.0.1', port: 6379 }.

    client?: any

    A pre-built node-resque module (or a stand-in exposing Queue and Worker constructors). When provided, connect() adopts it and does not require('node-resque') — used for injecting mocks in tests.