You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -64,8 +66,9 @@ public interface PostgresqlConnection extends Connection {
64
66
PostgresqlStatementcreateStatement(Stringsql);
65
67
66
68
/**
67
-
* Return a {@link Flux} of {@link Notification} received from {@code LISTEN} registrations.
68
-
* The stream is a hot stream producing messages as they are received.
69
+
* Return a {@link Flux} of {@link Notification} received from {@code LISTEN} registrations. The stream is a hot stream producing messages as they are received. Notifications received by this
70
+
* connection are published as they are received. When the client gets {@link #close() closed}, the subscription {@link Subscriber#onComplete() completes normally}. Otherwise (transport
71
+
* connection disconnected unintentionally) with an {@link R2dbcNonTransientResourceException error}.
69
72
*
70
73
* @return a hot {@link Flux} of {@link Notification Notifications}.
* Add a consumer of notification messages. Notifications received by this connection are sent to the {@link Consumer notification consumer}. Note that connection errors and events such as
42
+
* disconnects are not visible to the {@link Consumer notification consumer}.
40
43
*
41
44
* @param consumer the consumer of notification messages
42
45
* @return a new {@link Disposable} that can be used to cancel the underlying subscription.
43
46
* @throws IllegalArgumentException if {@code consumer} is {@code null}
* Add a consumer of notification messages. Notifications received by this connection are sent to the {@link Subscriber notification listener}. When the client gets {@link #close() closed}, the
52
+
* subscription {@link Subscriber#onComplete() completes normally}. Otherwise (transport connection disconnected unintentionally) with an {@link R2dbcNonTransientResourceException error}.
53
+
*
54
+
* @param consumer the consumer of notification messages
55
+
* @return a new {@link Disposable} that can be used to cancel the underlying subscription.
56
+
* @throws IllegalArgumentException if {@code consumer} is {@code null}
0 commit comments