mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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!