PostgreSQLDatabase.Listen

From Xojo Documentation

Method

PostgreSQLDatabase.Listen(Name as String)

Supported for all project types and targets.

Listens for notifications named "Name".

Notes

Used in conjunction with the Notify and CheckForNotifications methods. Notifications are received in the ReceivedNotification event handler.

Sample Code

Start listening for a specific notification:

// db is a previously connected PostgreSQLDatabase
db.Listen("RefreshAll")