delegate
A delegate object for monitoring the session and responding to state changes and errors.
Declaration
weak var delegate: (any WKExtendedRuntimeSessionDelegate)? { get set }Discussion
To receive all the delegate calls, always assign a value to this property before calling the session’s start() or start(at:) methods.