MCPcopy Create free account
hub / github.com/expo/expo / writeToCacheAsync

Method writeToCacheAsync

packages/expo-image/src/ImageModule.web.ts:74–76  ·  view source on GitHub ↗
(_: string | ImageRef, __: string)

Source from the content-addressed store, hash-verified

72 }
73
74 writeToCacheAsync(_: string | ImageRef, __: string): Promise<void> {
75 throw new Error('Writing to the cache is not supported on Web.');
76 }
77
78 readFromCacheAsync(_: string): Promise<ImageRef | null> {
79 return Promise.resolve(null);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected