Commit Detail
Commit e1d74db
Refactor: Worker::Script::ModuleSource no longer contain a callback. Instead, it contains a representation of the source code. This refactoring is needed to support dynamic code loading, which won't necessarily originate from a workerd config. This diff is large, but it's mostly just changing code which previosuly switched on config::Worker::Module::Reader (a capnp union) to instead switch on Worker::Script::Module (a OneOf). The details are straightforward.