(msg: PortalOpts)
| 244 | const emptyDescribeStatement = writer.addCString('S').flush(code.describe) |
| 245 | |
| 246 | const describe = (msg: PortalOpts): Uint8Array => { |
| 247 | return msg.name |
| 248 | ? cstringMessage(code.describe, `${msg.type}${msg.name ?? ''}`) |
| 249 | : msg.type === 'P' |
| 250 | ? emptyDescribePortal |
| 251 | : emptyDescribeStatement |
| 252 | } |
| 253 | |
| 254 | const close = (msg: PortalOpts): Uint8Array => { |
| 255 | const text = `${msg.type}${msg.name ?? ''}` |
no test coverage detected