Graceful Reconnect
Parameters
on Disconnect
implement this callback to perform logic when the RPC disconnects on connection disconnect
on Reconnect
implement this callback to perform logic when the RPC has reconnected after connection disconnect
max Attempts
the maximum number of attempts per each individual RPC call. A negative number indicates infinite number of retries. The default value is 5.