gun:await_up - Wait for the connection to be up
Wait for the connection to be up.
The pid of the Gun connection process.
How long to wait for, in milliseconds.
Monitor for the Gun connection process.
A monitor is automatically created for the duration of this call when one is not provided.
The protocol selected for this connection. It can be used to determine the capabilities of the server. Error tuples may also be returned when a timeout or an error occur.
1.0: Function introduced.