Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

org.jooby.funzy.Throwing.Consumer2<V1, V2> does not extend java.util.function.BiConsumer<T, U> #3

@imeszaros

Description

@imeszaros

Therefore the return value of org.jooby.funzy.Throwing.throwingConsumer(Consumer2<V1, V2>) cannot be used as BiConsumer.

Is this intentional?

org.jooby.funzy.Throwing.Function2<V1, V2, R> does extend java.util.function.BiFunction<V1, V2, R>.

Workaround is to use Throwing.throwingConsumer(...)::accept.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions