Convert scala 2.10 future to scalaz.concurrent.Future // Task

后端 未结 2 2063
野的像风
野的像风 2021-02-03 09:53

did anybody come to piece of code how to properly convert scala\'s Future (2.10) to new scalaz7 future ? I know hot to convert scalaz future via scala Promise to scala Future,

2条回答
  •  甜味超标
    2021-02-03 10:38

    You can also use https://github.com/Verizon/delorean which adds convenient toTask and toFuture methods

提交回复
热议问题