Contents

update(_:)

Updates the session with new attributes.

Declaration

@MainActor func update(_ attributes: Attributes) async throws

Parameters

  • attributes:

    The updated attributes for this session.

Discussion

When session attributes change, call this method to send the updated attributes to your app extension through the update(_:) method.