prorm API Reference
    Preparing search index...

    Interface RabbitMQStoreOptions

    Connection options for RabbitMQStore.

    amqplib ships no types the ORM depends on here, so its connection and channel are typed as any — the repo's tsconfig has noImplicitAny: false, the intended escape hatch for optional, untyped drivers.

    interface RabbitMQStoreOptions {
        url?: string;
        connection?: any;
    }
    Index
    url?: string

    AMQP connection URL, e.g. 'amqp://guest:guest@localhost:5672' or 'amqps://host'. Used by connect() when no connection is injected. Defaults to 'amqp://localhost'.

    connection?: any

    A pre-built amqplib connection (the object returned by amqp.connect(...)). When provided, connect() adopts it and does not require('amqplib') — useful for sharing one connection across stores, or for injecting a mock in tests.