andywer / andywer/pg-listen

connect function is returning undefined

Open
#57 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
635
Forks
35
PR merge metrics
No merged PRs in 30d

Description

https://github.com/andywer/pg-listen/blob/7dec032409ba2e77286d15e20d4b98c8af994a21/src/index.ts#L302-L306

Is there any reason why `connect()` is returning undefined not `dbClient`? Just wondering because I need to query db also and it doesn't make sense to create another connection to db. When `connect()` function would return `dbClient` it would be possible.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.