def METHOD_NAME():
    def resolve_fail() -> int:
        sleep(0.1)
        raise Exception()
    result = Result(resolve_fail, default_value=42)
    assert not result.data_is_available
    assert result.result() == 42
    assert result.data_is_available