init(initialState:)
Creates a lock object that maintains and protects state data.
Declaration
init(initialState: State)Parameters
- initialState:
The starting state of the operation.
Creates a lock object that maintains and protects state data.
init(initialState: State)The starting state of the operation.