Contents

set(_:)

Adds a new component to the set, or overrides an existing one.

Declaration

@MainActor @preconcurrency func set<T>(_ component: T) where T : Component

Parameters

  • component:

    The component to add.

See Also

Updating the set