PSQLConnection.InterceptorT

When this callback returns true, pollMessages will exit it's loop. Interceptor should set err to true if it has encountered some kind of error and wants it to be rethrown as PsqlClientException at the end of pollMessages call. errMsg should be appended with error description.

class PSQLConnection(SocketT = StdSocket, alias logTrace = nop_logger, alias logError = nop_logger)
alias InterceptorT = bool delegate() @safe nothrow

Meta