Success

constructor(newState: T)

Parameters

newState

The updated state after the operation