Description

Broadcast a message to guests connected to this room.

Used in conjunction with partySubscribe().

Syntax

partyEmit(eventName, data)

Parameters

eventName

string: the event name to subscribe to

data

dataObject: data to send with message

Returns

none