Skip to content

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 <rvolosatovs@riseup.net>
@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
@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