Skip to content

Instantly run task after write operation#1460

Open
Beaness wants to merge 3 commits intoretrooper:2.0from
Beaness:instantwriteaftersend
Open

Instantly run task after write operation#1460
Beaness wants to merge 3 commits intoretrooper:2.0from
Beaness:instantwriteaftersend

Conversation

@Beaness
Copy link
Copy Markdown
Contributor

@Beaness Beaness commented Feb 17, 2026

Right now it's possible other packets get written before the promise is completed, If you want to write a packet right after another packet using getTasksAfterSend it's possible another packet gets written inbetween. This solves it for spigot (sponge needs a different type of implementation, probably overwriting the whole write function to execute the tasks).

@retrooper retrooper self-assigned this Feb 27, 2026
@retrooper retrooper added bug Something isn't working enhancement New feature or request labels Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants