MCPcopy Create free account
hub / github.com/hashintel/hash / change_context_lazy

Method change_context_lazy

libs/error-stack/src/future.rs:291–300  ·  view source on GitHub ↗
(self, context: F)

Source from the content-addressed store, hash-verified

289
290 #[track_caller]
291 fn change_context_lazy<C, F>(self, context: F) -> FutureWithLazyContext<Self, F>
292 where
293 C: Error + Send + Sync + 'static,
294 F: FnOnce() -> C,
295 {
296 FutureWithLazyContext {
297 future: self,
298 inner: Some(context),
299 }
300 }
301}

Callers 15

attach_resultFunction · 0.45
attach_futureFunction · 0.45
process_fileFunction · 0.45
read_package_jsonFunction · 0.45
load_predefined_typesMethod · 0.45
into_futureMethod · 0.45
read_entity_typeFunction · 0.45
validate_entitiesMethod · 0.45
run_migrationMethod · 0.45

Calls

no outgoing calls

Tested by 2

attach_resultFunction · 0.36
attach_futureFunction · 0.36