Function Dpq2Connection.waitForNotify

Non blocking method to wait for next notification.

Notify waitForNotify (
  in const(core.time.Duration) timeout = max()
);

Parameters

NameDescription
timeout maximal duration to wait for the new Notify to be received

Returns

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

Throws

ConnectionException on connection failure