connect(context:)
Connect to the provided endpoint.
Declaration
@MainActor func connect(context: Self.Context) async throwsParameters
- context:
An object used to communicate state back to the host app.
Discussion
This is called when the session begins. Your extension should begin connecting to context.endpoint immediately.