MCPcopy Create free account
hub / github.com/base/base / with_task_executor

Method with_task_executor

crates/execution/payload/src/builder.rs:187–190  ·  view source on GitHub ↗

Runs end-of-block maintenance of the resting validity set, such as the unseen sweep, on `executor` instead of inline.

(mut self, executor: Runtime)

Source from the content-addressed store, hash-verified

185 /// Runs end-of-block maintenance of the resting validity set, such as the unseen sweep, on
186 /// `executor` instead of inline.
187 pub fn with_task_executor(mut self, executor: Runtime) -> Self {
188 self.resting_predicates = RestingPredicateStore::new(executor);
189 self
190 }
191
192 /// Tells the consensus layer that `payload_id`, built on `parent_hash`, is frozen.
193 ///

Callers 2

build_payload_builderMethod · 0.80

Calls 1

newFunction · 0.50

Tested by

no test coverage detected