Skip to content

Class

PostgresListenContext

Context for receiving NotificationResponse messages on a connection, used for PostgreSQL’s LISTEN/NOTIFY support.
final class PostgresListenContext

Topics

Instance Methods

  • stop()
    Detach this listener so it no longer receives notifications. Other listeners, including those for the same channel, are unaffected. UNLISTEN is not sent; you are responsible for issuing an UNLISTEN query yourself if it is appropriate for your application.

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Deprecated APIs