Api / JavaScript /

listen( [options] )

Creates a new Listener instance that listen for new connections/nodes.

Arguments

[options] Object

Returns

A new Listener instance.

Examples

const dop = require('dop')
const listener = dop.listen()

See also