Interface PromiseFunctor

All Superinterfaces:
Functor<Promise<?>>, Invariant<Promise<?>>

interface PromiseFunctor extends Functor<Promise<?>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PromiseFunctor
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T, R> Kind<Promise<?>,R>
    map(Kind<Promise<?>,? extends T> value, Function1<? super T,? extends R> mapper)
     

    Methods inherited from interface com.github.tonivade.purefun.typeclasses.Functor

    imap, lift