Skip to content

Refactor: Give Worker::Script::ScriptSource same treatment as ModulesSource.#4126

Merged
kentonv merged 1 commit intomainfrom
kenton/refactor-worker-source-harder
May 23, 2025
Merged

Refactor: Give Worker::Script::ScriptSource same treatment as ModulesSource.#4126
kentonv merged 1 commit intomainfrom
kenton/refactor-worker-source-harder

Conversation

@kentonv
Copy link
Member

@kentonv kentonv commented May 11, 2025

This is a continuation of #4082. I had left ScriptSource still containing a weird callback because I didn't think I needed to update it. Turns out I do actually need to update it to avoid some ugliness later.

Luckily this turned out to be a much smaller refactor. I would have done it in the first place had I realized.

@kentonv kentonv requested a review from jasnell May 11, 2025 00:48
@kentonv kentonv requested review from a team as code owners May 11, 2025 00:48
…Source.

This is a continuation of #4082. I had left `ScriptSource` still containing a weird callback because I didn't think I needed to update it. Turns out I do actually need to update it to avoid some ugliness later.

Luckily this turned out to be a much smaller refactor. I would have done it in the first place had I realized.
@kentonv kentonv force-pushed the kenton/refactor-worker-source-harder branch from b17e86a to 8123c13 Compare May 23, 2025 03:20
@kentonv kentonv merged commit 6f13ecc into main May 23, 2025
18 checks passed
@kentonv kentonv deleted the kenton/refactor-worker-source-harder branch May 23, 2025 03:53
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