Skip to content

Passing PFA as argument of flatMap or recoverWith generates error. #19

@pawaclawczyk

Description

@pawaclawczyk

flatMaps and recoverWith are protected with check that ensures the passed callable will return an expected type ie. Option or TryCatch.

In case of passing partially applied function the real function is wrapped in callable that does not have return type hinting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions