Dpq2Connection.waitForNotify

Non blocking method to wait for next notification.

class Dpq2Connection
Notify
waitForNotify
(
in Duration timeout = Duration.max
)

Parameters

timeout Duration

maximal duration to wait for the new Notify to be received

Return Value

Type: Notify

New Notify or null when no other notification is available or timeout occurs.

Throws

ConnectionException on connection failure

Meta