Contents

init(initialState:)

Creates a lock object that maintains and protects state data.

Declaration

init(initialState: State)

Parameters

  • initialState:

    The starting state of the operation.

See Also

Creating a lock object