invoke

operator fun invoke(): Connection

Calls the invoke operator to retrieve the singleton instance of the Connection.

Return

The singleton instance of the Connection.

Example:

// Using invoke() to retrieve the Connection instance
val connection = Connection() // Equivalent to RainbowSdk().connection()

// Accessing services or functionalities using the retrieved instance
connection.someServiceMethod()