New Prague, Minnesota

    @warerebel/sbqueue

    0.6.6 • Public • Published

    Build Status Coverage Status

    sbqueue

    A library that queues data in memory and pushes it to an amqp connection. Built on rhea library

    Getting Started

    const sbqueue = require("sbqueue");
    
    const connectionOptions = {
      host: "localhost",
      port: 5672
    }
    
    myQueue = new sbqueue(connectionOptions,"queueName");
    myQueue.connect();
    
    // Now we can push items to myQueue whenever we like
    // they will be pushed to our amqp link whenever sending credit is available
    
    myQueue.push({body: "a message"});
    myQueue.push({body: "a second message"});
    

    Install

    npm i @warerebel/sbqueue

    DownloadsWeekly Downloads

    23

    Version

    0.6.6

    License

    GPL-3.0

    Unpacked Size

    41 kB

    Total Files

    7

    Last publish

    Collaborators

    • mrlount