Class
PostgresListenContext
Context for receiving NotificationResponse messages on a connection, used for PostgreSQL’s
LISTEN/NOTIFY support.final class PostgresListenContext
Topics
Instance Methods
func stop()Detach this listener so it no longer receives notifications. Other listeners, including those for the same channel, are unaffected.UNLISTENis not sent; you are responsible for issuing anUNLISTENquery yourself if it is appropriate for your application.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype
See Also
Deprecated APIs
protocol PostgresDatabasestruct PostgresDataprotocol PostgresDataConvertiblestruct PostgresQueryResultprotocol PostgresJSONCodableprotocol PostgresJSONBCodableclass PostgresMessageEncoderclass PostgresMessageDecoderprotocol PostgresRequestProtocol to encapsulate a function call on the Postgres serverstruct PostgresMessageA frontend or backend Postgres message.protocol PostgresMessageTypetypealias PostgresFormatCodestruct PreparedQueryclass SASLAuthenticationManagerprotocol SASLAuthenticationMechanismThe protocol to which all SASL mechanism implementations must conform. It is the responsibility of each individual implementation to provide an API for creating instances of itself which are able to retrieve information from the caller (such as usernames and passwords) by some mechanism.