Skip to content

Using(...) returns a Try object, but Using.resource(...) executes the code inside #1

@eshu

Description

@eshu

For example, here: https://github.com/leusgalvan/fp-course/blob/main/src/main/scala/Channel.sc#L23

Also flush is redundant I believe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions