Object - nats : Connection

Represents a NATS connection.

Constructor

__init

(ConnectionConfig config)

  • config ConnectionConfig
  • Information neccasary for NATS client to establish a connection with the server.

Methods

close

()

returns error?

Close a given connection.

  • Return Type

    (error?)
  • () or error if unable to complete close operation.