next.js
c6e23a6b - Turbopack: Use a factory factory (yes, really) to make hanging detection construction lazier (#81434)

Commit
168 days ago
Turbopack: Use a factory factory (yes, really) to make hanging detection construction lazier (#81434) This is an alternate attempt at solving #81424 without macros. The extra laziness desired can be accomplished with an outer wrapping `FnOnce`. It's a bit confusing, but I think it causes less problems than a macro does? Checked compilation and lints with: ``` cargo clippy --all-targets cargo clippy --all-targets --features turbo-tasks/hanging_detection ``` // TODO: Find somewhere else to insert a closure so that we can have a factory factory factory!
Author
bgw bgw
Parents
Loading