* Sets a modifier for a subsequent event emission that the event data will only be broadcast to the current node. * * @example * io.on("connection", (socket) => { * // the “foo” event will be broadcast to all connected clients on this node, except this socket * socket.local.emit("
()
| 781 | * @return a new {@link BroadcastOperator} instance for chaining |
| 782 | */ |
| 783 | public get local() { |
| 784 | return this.newBroadcastOperator().local; |
| 785 | } |
| 786 | |
| 787 | /** |
| 788 | * Sets a modifier for a subsequent event emission that the callback will be called with an error when the |
nothing calls this directly
no test coverage detected