replicationReady

@SerialName(value = "replication_ready")
var replicationReady: Boolean(source)

Parameters

replicationReady

replication_ready option instructs the server to emit a system event once the Postgres replication connection backing this channel is established and ready to stream changes. Listen for it with channel.on('system', {}, (payload) => ...); TODO: fix docs the payload's status is 'ok' (message: 'Replication connection established') on success or 'error' if the connection is not ready in time.