SDK
SDK Javascript v5.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

room #

Creates a new Room object, using its constructor.


room([options]) #

ArgumentsTypeDescription
optionsobjectSubscription configuration

Options #

Provided options are passed directly to the Room object constructor.


Return Value #

Returns the newly created Room object.

Usage #

let room = kuzzle
  .collection('collection', 'index')
  .room()
  .renew({in: {field: ['some', 'new', 'filter']}}, function (err, res) {
    // handle notifications
  });