requestOpenSession(options:completion:)
Requests to open a session on the device, then executes the completion handler.
Declaration
func requestOpenSession(options: [ICSessionOptions : Any]? = nil, completion: @escaping @Sendable ((any Error)?) -> Void)func requestOpenSession(options: [ICSessionOptions : Any]? = nil) async throwsDiscussion
Execution of the completion block occurs on the calling thread.