Skip to content

Queue.port

Grant Carthew edited this page Aug 19, 2016 · 1 revision

Property Details

Usage: Read Only

Get: Number

  • The currently configured TCP port for the Queue object connection to the database.

Example:

const Queue = require('rethinkdb-job-queue')
const q = new Queue({ port: 4000 })
let currentPort = q.port
// currentPort === 4000

Description

For detail on what the port value is used for, see the Queue Options document.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally