Skip to content

Conversation

@RobertIndie
Copy link
Contributor

Motivation

Fixes #215

@RobertIndie RobertIndie marked this pull request as ready for review November 6, 2025 09:49
channel.SetResult()
else
// Get the last message from the queue
let mutable lastMessage = pendingMessages |> Seq.last
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mutable is not needed here anymore

else
// Get the last message from the queue
let mutable lastMessage = pendingMessages |> Seq.last
for msg in pendingMessages do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole loop is not needed anymore

@Lanayx Lanayx merged commit b663c94 into fsprojects:develop Nov 8, 2025
2 checks passed
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.

Support FlushAsync in Producer

2 participants