Vavr: How to migrate Try.andFinally?

Created on 8 Jun 2019  路  1Comment  路  Source: vavr-io/vavr

Hey,

Can you pointing me where I can look what is going to be changed in 1.x release? I have get stuck with 1.0.0-alpha-2 version...

For instance seems like Try.andFinally was removed and I cannot find in Try sources how I can migrate that 0.x code:

Try.run(this::inBatch)
   .andFinally(this::shutdown)

I don't wanna check if it was success or not, I just need to make sure everything is tear down in the end..

Thanks


Regards,
Maksim

question

Most helpful comment

Hi Maksim,

thanks for your question. The alpha you use is incomplete and not intended to be released as 1.0. I will lift the current v0.10.0 as v1.0.0 within the next days. So you can expect a very smooth migration.

See also my Twitter post regarding v1.0.0.

I hope this helps.

>All comments

Hi Maksim,

thanks for your question. The alpha you use is incomplete and not intended to be released as 1.0. I will lift the current v0.10.0 as v1.0.0 within the next days. So you can expect a very smooth migration.

See also my Twitter post regarding v1.0.0.

I hope this helps.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vivek-Patil picture Vivek-Patil  路  3Comments

skestle picture skestle  路  3Comments

carnott-snap picture carnott-snap  路  4Comments

liviamoroianu picture liviamoroianu  路  3Comments

ashrwin picture ashrwin  路  6Comments