newResult

Factory method to create a result with a value

Parameters

value

The result value