codewinsdotcom / PostgresClientKit

A PostgreSQL client library for Swift. Does not require libpq.
Apache License 2.0
132 stars 21 forks source link

Any support for NOTIFICATIONS ? #52

Open duncangroenewald opened 1 week ago

duncangroenewald commented 1 week ago

Presumably this library does not support asynchronous notifications as per https://www.postgresql.org/docs/current/libpq-notify.html.

Any plan to support this or any suggestion as to feasibility of implementing support for this ?

pitfield commented 1 week ago

Yes, the library does currently support this. Take a look at the ConnectionDelegate protocol and, for a usage example, ConnectionDelegateTest.