Contents

init(exporting:)

Creates a type that exports a group activity for the specified item.

Declaration

init<ActivityType>(exporting: @escaping  @Sendable (Item) async throws -> ActivityType) where ActivityType : GroupActivity

Parameters

  • exporting:

    A closure that creates the Groupactivity for the given item.