Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(go)!: rework async I/O #282

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

rvolosatovs
Copy link
Member

@rvolosatovs rvolosatovs commented Aug 26, 2024

  • Remove Completer abstraction and just always send async values as
    "pending" in Go. We may want to revisit this in the future with a
    better approach (e.g. encoding nested async values concurrently and
    using a select to synchronise at encoding position)
  • Expose Close for stream and future types, although for now the
    callers have to assert for it.

This is not the final solution, just an intermediate state.
More breaking changes are incoming for this functionality

@rvolosatovs rvolosatovs force-pushed the feat/go-async branch 4 times, most recently from d6b2c6d to 4a5c7a3 Compare August 26, 2024 19:15
@rvolosatovs rvolosatovs enabled auto-merge August 26, 2024 19:16
@rvolosatovs rvolosatovs disabled auto-merge August 26, 2024 19:21
- Remove `Completer` abstraction and just always send async values as
  "pending" in Go. We may want to revisit this in the future with a
  better approach (e.g. encoding nested async values concurrently and
  using a `select` to synchronise at encoding position)
- Expose `Close` for stream and future types, although for now the
  callers have to assert for it.

This is not the final solution, just an intermediate state.
More breaking changes are incoming for this functionality

Signed-off-by: Roman Volosatovs <[email protected]>
@rvolosatovs rvolosatovs added this pull request to the merge queue Aug 27, 2024
Merged via the queue into bytecodealliance:main with commit 97fbace Aug 27, 2024
25 checks passed
@rvolosatovs rvolosatovs deleted the feat/go-async branch August 27, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants