Skip to content

Comments

Instantly run task after write operation#1460

Open
Beaness wants to merge 1 commit intoretrooper:2.0from
Beaness:instantwriteaftersend
Open

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

Conversation

@Beaness
Copy link
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).

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.

1 participant