notifications method
Payloads sent with notify on channel, when the connection delivers
notifications (PostgreSQL's LISTEN); null otherwise, so callers
poll instead. The stream holds a connection of its own until its
listener cancels.
Implementation
Future<Stream<String>?> notifications(
String channel, {
String? connection,
}) async {
final driver = await this.connection(connection);
return driver is NotifyingDriver ? driver.listen(channel) : null;
}