Contents

close()

Closes the preview session.

Declaration

func close() async throws

Discussion

If the existing session is still open, this method closes it. The session’s events stream receives a .didClose event upon success.