Skip to content

Claim of using Std.Async is misleading #6

Description

@ecyrbe

The code in transport is using blocking to IO, making the claim that the library is using Std.Async too strong.

Indeed, the libuv loop is blocked at reading/writing data, making the code actually completely synchronous.
For real Async, the code should be Async al the way down to the public API. This would allow operation chaining to stay async.

I asume the LLM was not guided properly to generate this code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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