MCPcopy Create free account
hub / github.com/porsager/postgres / close

Function close

cf/polyfills.js:173–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 }
172
173 function close() {
174 if (tcp.readyState === 'closed')
175 return
176
177 tcp.readyState = 'closed'
178 tcp.emit('close')
179 }
180
181 function write(data, cb) {
182 tcp.writer.write(data).then(cb, error)

Callers 1

connectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected