Api / JavaScript /

Node.on('connect', callback)

Event emmited when a node is connected

Arguments

'connect' String

callback Function

Example

const server = dop.connect()
server.on('connect', () => console.log('Connected!') )

See also